Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 3.83 KB

README.md

File metadata and controls

69 lines (47 loc) · 3.83 KB

Swagger 2.0 and OpenAPI 3.0 middleware

Cross-Platform Compatibility Build Status Coverage Status Tested on APIs.guru

npm Dependencies License

Swagger 2.0 Support

If your API definition is in Swagger 2.0 format, then you should use Swagger Express Middleware v2. You can install version 2 using npm:

npm install swagger-express-middleware@2

👷🚧 OpenAPI 3.0 Support 🚧👷

Swagger Express Middleware v3 will support OpenAPI 3.0, but it is still a work in progress. This branch is the latest code for what will eventually be version 3.

You can install the alpha of version 3.0.0 using npm:

npm install swagger-express-middleware@next

Please note that the alpha version is not yet supported, is missing some functionality, definitely contains some bugs, and may have breaking changes at any time until the final release of v3.0.0.

Documentation

There is no documentation for version 3 yet. Our goal is to keep things as close as possible to version 2, to simplify the migration path. Here are the docs for version 2:

Middleware

API

Samples & Walkthroughs

Sample 1

Sample 2