0.0.1 • Published 7 years ago
express-swag v0.0.1
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
0.0.1
7 years ago