swagger-client 3.37.8 → 3.38.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.
- package/NOTICE +1 -1
- package/README.md +9 -12
- package/dist/swagger-client.browser.js +12027 -3806
- package/dist/swagger-client.browser.min.js +1 -1
- package/dist/swagger-client.browser.min.js.map +1 -1
- package/es/execute/index.js +11 -2
- package/es/helpers/each-operation.js +26 -1
- package/es/helpers/id-from-path-method/index.js +3 -1
- package/es/interfaces.js +12 -12
- package/lib/execute/index.js +11 -2
- package/lib/helpers/each-operation.js +25 -1
- package/lib/helpers/id-from-path-method/index.js +3 -1
- package/lib/interfaces.js +12 -12
- package/package.json +48 -38
package/NOTICE
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
swagger-
|
|
1
|
+
swagger-client
|
|
2
2
|
Copyright 2020-2021 SmartBear Software Inc.
|
package/README.md
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
# Swagger Client <img src="https://raw.githubusercontent.com/swagger-api/swagger.io/wordpress/images/assets/SW-logo-clr.png" height="50" align="right">
|
|
2
2
|
|
|
3
|
-
[](https://github.com/swagger-api/swagger-client/actions)
|
|
4
4
|
|
|
5
5
|
**Swagger Client** is a JavaScript module that allows you to fetch, resolve, and interact with Swagger/OpenAPI documents.
|
|
6
6
|
|
|
7
7
|
## New!
|
|
8
8
|
|
|
9
|
-
**This is the new version of
|
|
9
|
+
**This is the new version of Swagger Client, 3.x.** The new version supports Swagger 2.0 as well as OpenAPI 3.
|
|
10
10
|
|
|
11
11
|
Want to learn more? Check out our [FAQ](docs/migration/migration-2-x-to-3-x.md).
|
|
12
12
|
|
|
13
13
|
For features known to be missing from 3.x please see the [Graveyard](docs/migration/graveyard-3-x.md).
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
For the older version of
|
|
17
|
-
|
|
18
|
-
> *The npm package is called `swagger-client` and the GitHub repository is `swagger-js`.
|
|
19
|
-
We'll be consolidating that soon. Just giving you the heads-up. You may see references to both names.*
|
|
16
|
+
For the older version of Swagger Client, refer to the [*2.x branch*](https://github.com/swagger-api/swagger-client/tree/2.x).
|
|
20
17
|
|
|
21
18
|
## Compatibility
|
|
22
19
|
The OpenAPI Specification has undergone multiple revisions since initial creation in 2010.
|
|
@@ -24,11 +21,11 @@ Compatibility between Swagger Client and the OpenAPI Specification is as follows
|
|
|
24
21
|
|
|
25
22
|
Swagger Client Version | Release Date | OpenAPI Spec compatibility | Notes
|
|
26
23
|
------------------ |--------------|---------------------------------------------------------| -----
|
|
27
|
-
3.37.x | 2026-02-27 | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 3.2.0 | [tag v3.37.0](https://github.com/swagger-api/swagger-
|
|
28
|
-
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-
|
|
29
|
-
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-
|
|
30
|
-
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-
|
|
31
|
-
2.1.32 | 2017-01-12 | 1.0, 1.1, 1.2 | [tag v2.1.32](https://github.com/swagger-api/swagger-
|
|
24
|
+
3.37.x | 2026-02-27 | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 3.2.0 | [tag v3.37.0](https://github.com/swagger-api/swagger-client/releases/tag/v3.37.0)
|
|
25
|
+
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-client/releases/tag/v3.33.0)
|
|
26
|
+
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-client/releases/tag/v3.19.0-alpha.3)
|
|
27
|
+
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-client/tree/v3.10.0)
|
|
28
|
+
2.1.32 | 2017-01-12 | 1.0, 1.1, 1.2 | [tag v2.1.32](https://github.com/swagger-api/swagger-client/tree/v2.1.32). This [release](https://github.com/swagger-api/swagger-client/releases/tag/v2.1.32) is only available on GitHub.
|
|
32
29
|
|
|
33
30
|
## Anonymized analytics
|
|
34
31
|
|
|
@@ -60,7 +57,7 @@ Alternatively, you can set the environment variable `SCARF_ANALYTICS` to `false`
|
|
|
60
57
|
|
|
61
58
|
#### Development
|
|
62
59
|
|
|
63
|
-
- [Contributing](https://github.com/swagger-api/.github/blob/
|
|
60
|
+
- [Contributing](https://github.com/swagger-api/.github/blob/main/CONTRIBUTING.md)
|
|
64
61
|
- [Setting up](docs/development/setting-up.md)
|
|
65
62
|
- [Scripts](docs/development/scripts.md)
|
|
66
63
|
|