swagger-client 3.32.4 → 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.