swagger-client 3.12.0 → 3.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13040,16 +13040,62 @@ var JSONRefError = Object(_create_error__WEBPACK_IMPORTED_MODULE_17__["default"]
13040
13040
  });
13041
13041
  var docCache = {};
13042
13042
  var specmapRefs = new _babel_runtime_corejs3_core_js_stable_weak_map__WEBPACK_IMPORTED_MODULE_10___default.a();
13043
- var skipResolutionTestFns = [function (path) {
13044
- return (// OpenAPI 3.0 Response Media Type Example
13045
- // ["paths", *, *, "responses", *, "content", *, "example"]
13043
+ var skipResolutionTestFns = [// OpenAPI 2.0 response examples
13044
+ function (path) {
13045
+ return (// ["paths", *, *, "responses", *, "examples"]
13046
+ path[0] === 'paths' && path[3] === 'responses' && path[5] === 'examples'
13047
+ );
13048
+ }, // OpenAPI 3.0 Response Media Type Examples
13049
+ function (path) {
13050
+ return (// ["paths", *, *, "responses", *, "content", *, "example"]
13046
13051
  path[0] === 'paths' && path[3] === 'responses' && path[5] === 'content' && path[7] === 'example'
13047
13052
  );
13048
13053
  }, function (path) {
13049
- return (// OpenAPI 3.0 Request Body Media Type Example
13050
- // ["paths", *, *, "responses", *, "content", *, "example"]
13054
+ return (// ["paths", *, *, "responses", *, "content", *, "examples", *, "value"]
13055
+ path[0] === 'paths' && path[3] === 'responses' && path[5] === 'content' && path[7] === 'examples' && path[9] === 'value'
13056
+ );
13057
+ }, // OpenAPI 3.0 Request Body Media Type Examples
13058
+ function (path) {
13059
+ return (// ["paths", *, *, "requestBody", "content", *, "example"]
13051
13060
  path[0] === 'paths' && path[3] === 'requestBody' && path[4] === 'content' && path[6] === 'example'
13052
13061
  );
13062
+ }, function (path) {
13063
+ return (// ["paths", *, *, "requestBody", "content", *, "examples", *, "value"]
13064
+ path[0] === 'paths' && path[3] === 'requestBody' && path[4] === 'content' && path[6] === 'examples' && path[8] === 'value'
13065
+ );
13066
+ }, // OAS 3.0 Parameter Examples
13067
+ function (path) {
13068
+ return (// ["paths", *, "parameters", *, "example"]
13069
+ path[0] === 'paths' && path[2] === 'parameters' && path[4] === 'example'
13070
+ );
13071
+ }, function (path) {
13072
+ return (// ["paths", *, *, "parameters", *, "example"]
13073
+ path[0] === 'paths' && path[3] === 'parameters' && path[5] === 'example'
13074
+ );
13075
+ }, function (path) {
13076
+ return (// ["paths", *, "parameters", *, "examples", *, "value"]
13077
+ path[0] === 'paths' && path[2] === 'parameters' && path[4] === 'examples' && path[6] === 'value'
13078
+ );
13079
+ }, function (path) {
13080
+ return (// ["paths", *, *, "parameters", *, "examples", *, "value"]
13081
+ path[0] === 'paths' && path[3] === 'parameters' && path[5] === 'examples' && path[7] === 'value'
13082
+ );
13083
+ }, function (path) {
13084
+ return (// ["paths", *, "parameters", *, "content", *, "example"]
13085
+ path[0] === 'paths' && path[2] === 'parameters' && path[4] === 'content' && path[6] === 'example'
13086
+ );
13087
+ }, function (path) {
13088
+ return (// ["paths", *, "parameters", *, "content", *, "examples", *, "value"]
13089
+ path[0] === 'paths' && path[2] === 'parameters' && path[4] === 'content' && path[6] === 'examples' && path[8] === 'value'
13090
+ );
13091
+ }, function (path) {
13092
+ return (// ["paths", *, *, "parameters", *, "content", *, "example"]
13093
+ path[0] === 'paths' && path[3] === 'parameters' && path[4] === 'content' && path[7] === 'example'
13094
+ );
13095
+ }, function (path) {
13096
+ return (// ["paths", *, *, "parameters", *, "content", *, "examples", *, "value"]
13097
+ path[0] === 'paths' && path[3] === 'parameters' && path[5] === 'content' && path[7] === 'examples' && path[9] === 'value'
13098
+ );
13053
13099
  }];
13054
13100
 
13055
13101
  var shouldSkipResolution = function shouldSkipResolution(path) {