Swagger Client is a JavaScript module that allows you to fetch, resolve, and interact with Swagger/OpenAPI documents.
This is the new version of swagger-js, 3.x. The new version supports Swagger 2.0 as well as OpenAPI 3.
Want to learn more? Check out our FAQ.
For features known to be missing from 3.x please see the Graveyard.
For the older version of swagger-js, refer to the 2.x branch.
The npm package is called
swagger-client
and the GitHub repository isswagger-js
. We'll be consolidating that soon. Just giving you the heads up. You may see references to both names.
- Installation
- Tags Interface
- TryItOut Executor
- OpenAPI Definition Resolver
- HTTP Client
- Swagger Client API
Please disclose any security-related issues or vulnerabilities by emailing [email protected], instead of using the public issue tracker.