express-swag
v0.0.1
Published
From file to middleware in 6 seconds or less
Downloads
1
Maintainers
Readme
express-swag
From file to middleware in 6 seconds or less
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 do:
npm install express-swag
license
MIT