swagger-client 3.10.0 → 3.10.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/README.md +1 -3
- package/browser/index.js +7 -7
- package/dist/index.js +174 -136
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
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://travis-ci.org/swagger-api/swagger-js)
|
|
4
3
|
[](https://jenkins.swagger.io/view/OSS%20-%20JavaScript/job/oss-swagger-js-master/)
|
|
5
4
|
|
|
6
5
|
**Swagger Client** is a JavaScript module that allows you to fetch, resolve, and interact with Swagger/OpenAPI documents.
|
|
@@ -174,7 +173,7 @@ Swagger('http://petstore.swagger.io/v2/swagger.json')
|
|
|
174
173
|
client.apis.pet.addPet({id: 1, name: "bobby"}).then(...)
|
|
175
174
|
|
|
176
175
|
// TryItOut Executor, with the `spec` already provided
|
|
177
|
-
client.execute({operationId: 'addPet', parameters: {id: 1, name: "bobby"
|
|
176
|
+
client.execute({operationId: 'addPet', parameters: {id: 1, name: "bobby"}}).then(...)
|
|
178
177
|
})
|
|
179
178
|
|
|
180
179
|
```
|
|
@@ -340,4 +339,3 @@ Please disclose any security-related issues or vulnerabilities by emailing [secu
|
|
|
340
339
|
### Graveyard
|
|
341
340
|
|
|
342
341
|
For features known to be missing from 3.x please see [the Graveyard](docs/GRAVEYARD.md)
|
|
343
|
-
|