swagger-client 3.10.8 → 3.10.12
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 +10 -2
- package/dist/swagger-client.browser.js +24191 -0
- package/dist/swagger-client.browser.min.js +3 -0
- package/dist/swagger-client.browser.min.js.map +1 -0
- package/es/commonjs.js +9 -0
- package/es/constants.js +2 -0
- package/es/execute/index.js +391 -0
- package/es/execute/oas3/build-request.js +149 -0
- package/es/execute/oas3/content-serializer.js +18 -0
- package/es/execute/oas3/parameter-builders.js +119 -0
- package/es/execute/oas3/style-serializer.js +232 -0
- package/es/execute/swagger2/build-request.js +119 -0
- package/es/execute/swagger2/parameter-builders.js +78 -0
- package/es/helpers.js +272 -0
- package/es/http.js +621 -0
- package/es/index.js +116 -0
- package/es/interfaces.js +145 -0
- package/es/internal/form-data-monkey-patch.js +94 -0
- package/es/resolver.js +123 -0
- package/es/specmap/helpers.js +62 -0
- package/es/specmap/index.js +613 -0
- package/es/specmap/lib/all-of.js +81 -0
- package/es/specmap/lib/context-tree.js +111 -0
- package/es/specmap/lib/create-error.js +24 -0
- package/es/specmap/lib/index.js +391 -0
- package/es/specmap/lib/parameters.js +31 -0
- package/es/specmap/lib/properties.js +23 -0
- package/es/specmap/lib/refs.js +516 -0
- package/es/subtree-resolver/index.js +92 -0
- package/lib/commonjs.js +10 -0
- package/lib/constants.js +7 -0
- package/lib/execute/index.js +421 -0
- package/lib/execute/oas3/build-request.js +161 -0
- package/lib/execute/oas3/content-serializer.js +21 -0
- package/lib/execute/oas3/parameter-builders.js +138 -0
- package/lib/execute/oas3/style-serializer.js +208 -0
- package/lib/execute/swagger2/build-request.js +120 -0
- package/lib/execute/swagger2/parameter-builders.js +88 -0
- package/lib/helpers.js +261 -0
- package/lib/http.js +470 -0
- package/lib/index.js +142 -0
- package/lib/interfaces.js +159 -0
- package/lib/internal/form-data-monkey-patch.js +83 -0
- package/lib/resolver.js +125 -0
- package/lib/specmap/helpers.js +65 -0
- package/lib/specmap/index.js +446 -0
- package/lib/specmap/lib/all-of.js +89 -0
- package/lib/specmap/lib/context-tree.js +111 -0
- package/lib/specmap/lib/create-error.js +25 -0
- package/lib/specmap/lib/index.js +402 -0
- package/lib/specmap/lib/parameters.js +42 -0
- package/lib/specmap/lib/properties.js +38 -0
- package/lib/specmap/lib/refs.js +509 -0
- package/lib/subtree-resolver/index.js +55 -0
- package/package.json +80 -106
- package/browser/index.js +0 -54
- package/dist/index.js +0 -4372
package/README.md
CHANGED
|
@@ -15,10 +15,18 @@ For features known to be missing from 3.x please see the [Graveyard](docs/migrat
|
|
|
15
15
|
|
|
16
16
|
For the older version of swagger-js, refer to the [*2.x branch*](https://github.com/swagger-api/swagger-js/tree/2.x).
|
|
17
17
|
|
|
18
|
-
|
|
19
18
|
> *The npm package is called `swagger-client` and the GitHub repository is `swagger-js`.
|
|
20
19
|
We'll be consolidating that soon. Just giving you the heads up. You may see references to both names.*
|
|
21
20
|
|
|
21
|
+
## Compatibility
|
|
22
|
+
The OpenAPI Specification has undergone multiple revisions since initial creation in 2010.
|
|
23
|
+
Compatibility between Swagger Client and the OpenAPI Specification is as follows:
|
|
24
|
+
|
|
25
|
+
Swagger Client Version | Release Date | OpenAPI Spec compatibility | Notes
|
|
26
|
+
------------------ | ------------ | -------------------------- | -----
|
|
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-js/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-js/tree/v2.1.32). This [release](https://github.com/swagger-api/swagger-js/releases/tag/v2.1.32) is only available on GitHub.
|
|
29
|
+
|
|
22
30
|
## Documentation
|
|
23
31
|
|
|
24
32
|
#### Usage
|
|
@@ -38,8 +46,8 @@ We'll be consolidating that soon. Just giving you the heads up. You may see refe
|
|
|
38
46
|
|
|
39
47
|
#### Migrations
|
|
40
48
|
|
|
41
|
-
- [Graveyard](docs/migration/graveyard-3-x.md)
|
|
42
49
|
- [Migration guide](docs/migration/migration-2-x-to-3-x.md)
|
|
50
|
+
- [Graveyard](docs/migration/graveyard-3-x.md)
|
|
43
51
|
|
|
44
52
|
### Runtime
|
|
45
53
|
|