Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvaldesdeleon/express-swag
From file to middleware in 6 seconds or less
https://github.com/mvaldesdeleon/express-swag
Last synced: about 6 hours ago
JSON representation
From file to middleware in 6 seconds or less
- Host: GitHub
- URL: https://github.com/mvaldesdeleon/express-swag
- Owner: mvaldesdeleon
- License: other
- Created: 2017-05-27T10:11:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-27T10:11:58.000Z (over 7 years ago)
- Last Synced: 2024-08-11T09:23:12.328Z (3 months ago)
- Language: JavaScript
- Size: 434 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# express-swag
From file to middleware in 6 seconds or less
```JS
const swag = require('express-swag');// ...
// a json is fine too
swag('path/to/spec.yaml').then(middleware => {
app.use(middleware);
app.listen(80);
// Profit
});
```# install
with [npm](https://npmjs.org) do:```
npm install express-swag
```# license
MIT