swagger-client 3.32.3 → 3.33.0

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.
package/README.md CHANGED
@@ -22,11 +22,12 @@ We'll be consolidating that soon. Just giving you the heads-up. You may see refe
22
22
  The OpenAPI Specification has undergone multiple revisions since initial creation in 2010.
23
23
  Compatibility between Swagger Client and the OpenAPI Specification is as follows:
24
24
 
25
- Swagger Client Version | Release Date | OpenAPI Spec compatibility | Notes
26
- ------------------ |--------------|----------------------------------------| -----
27
- 3.19.x | 2023-01-23 | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0 | [tag v3.19.0-alpha.3](https://github.com/swagger-api/swagger-js/releases/tag/v3.19.0-alpha.3)
28
- 3.10.x | 2020-01-17 | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3 | [tag v3.10.0](https://github.com/swagger-api/swagger-js/tree/v3.10.0)
29
- 2.1.32 | 2017-01-12 | 1.0, 1.1, 1.2 | [tag v2.1.32](https://github.com/swagger-api/swagger-js/tree/v2.1.32). This [release](https://github.com/swagger-api/swagger-js/releases/tag/v2.1.32) is only available on GitHub.
25
+ Swagger Client Version | Release Date | OpenAPI Spec compatibility | Notes
26
+ ------------------ |--------------|-----------------------------------------------| -----
27
+ 3.33.x | 2024-12-30 | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0 | [tag v3.33.0](https://github.com/swagger-api/swagger-js/releases/tag/v3.33.0)
28
+ 3.19.x | 2023-01-23 | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0 | [tag v3.19.0-alpha.3](https://github.com/swagger-api/swagger-js/releases/tag/v3.19.0-alpha.3)
29
+ 3.10.x | 2020-01-17 | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3 | [tag v3.10.0](https://github.com/swagger-api/swagger-js/tree/v3.10.0)
30
+ 2.1.32 | 2017-01-12 | 1.0, 1.1, 1.2 | [tag v2.1.32](https://github.com/swagger-api/swagger-js/tree/v2.1.32). This [release](https://github.com/swagger-api/swagger-js/releases/tag/v2.1.32) is only available on GitHub.
30
31
 
31
32
  ## Anonymized analytics
32
33
 
@@ -1538,7 +1538,7 @@ const isOpenAPI30 = spec => {
1538
1538
  const {
1539
1539
  openapi
1540
1540
  } = spec;
1541
- return typeof openapi === 'string' && /^3\.0\.([0123])(?:-rc[012])?$/.test(openapi);
1541
+ return typeof openapi === 'string' && /^3\.0\.(?:[1-9]\d*|0)$/.test(openapi);
1542
1542
  } catch {
1543
1543
  return false;
1544
1544
  }
@@ -6106,7 +6106,7 @@ __webpack_require__.r(__webpack_exports__);
6106
6106
  //
6107
6107
  // This is useful for cases where resolving your entire object is unnecessary
6108
6108
  // and/or non-performant; we use this interface for lazily resolving operations
6109
- // and models in Swagger-UI, which allows us to handle larger definitions.
6109
+ // and models in Swagger-UI, which allows us to handle larger OpenAPI descriptions.
6110
6110
  //
6111
6111
  // It's likely that Swagger-Client will rely entirely on lazy resolving in
6112
6112
  // future versions.
@@ -45234,7 +45234,7 @@ function grammar() {
45234
45234
  this.rules[5].opcodes[2] = {
45235
45235
  type: 5,
45236
45236
  min: 0,
45237
- max: 121
45237
+ max: 122
45238
45238
  }; // TRG
45239
45239
  this.rules[5].opcodes[3] = {
45240
45240
  type: 6,
@@ -45443,7 +45443,7 @@ function grammar() {
45443
45443
  str += "slash = \"/\"\n";
45444
45444
  str += "path-literal = 1*pchar\n";
45445
45445
  str += "template-expression = \"{\" template-expression-param-name \"}\"\n";
45446
- str += "template-expression-param-name = 1*( %x00-79 / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n";
45446
+ str += "template-expression-param-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n";
45447
45447
  str += "\n";
45448
45448
  str += "; Characters definitions (from RFC 3986)\n";
45449
45449
  str += "pchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n";