1.1.0 • Published 5 years ago

express-openapi-document v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Express OpenAPI Document

This is used to document express APIs with the OpenAPI v2 in code. It can also be used to validate models for POST and PUT requests.

This is still alpha quality and there are no tests. Use at your own discretion.

Look at examples/example.js for an example on how to use this.

If you download this, run npm install && npm run dev to see the example in action. Go to http://localhost:3000/spec.html in the browser and you'll see the swagger page.