sway-node
v1.0.22
Published
A library that simplifies Swagger integrations.
Downloads
1,935
Readme
Note This is a fork of apigee-127/sway with goal to only support Node 18 with fewer dependencies
A library that simplifies Swagger integrations. This library handles the minutiae of loading Swagger documents (local and remote), resolving references (local, remote), building an object model and providing you with a rich set of APIs for things like Swagger document validation, request/response validation, etc. For more details on the available APIs, please view the API Documentation.
Sway will always be built around the latest stable release of Swagger, which happens to be version 2.0
right now.
This means that its APIs and object model will be specific to that version of Swagger and supporting any other versions
of Swagger will require a conversion step prior to using Sway.
Project Badges
Installation
Installation for Node.js applications can be done via NPM.
npm install sway-node --save
Documentation
The documentation for this project can be found here: /docs/README
Of course, if you just want a quick link to the API documentation, that would be here:/docs/API.md