express-swag

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i express-swag

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • mvaldesdeleon