express-swag
From file to middleware in 6 seconds or less
const swag = require('express-swag'); // ... // a json is fine tooswag('path/to/spec.yaml').then(middleware => { app.use(middleware); app.listen(80); // Profit});
install
with npm do:
npm install express-swag
license
MIT