@openreply/emw-oas-router
v1.0.0
Published
```javascript const router = require('@openreply/emw-oas-router'); const express = require('express');
Downloads
19
Maintainers
Keywords
Readme
openapi 3.x express router middleware
const router = require('@openreply/emw-oas-router');
const express = require('express');
const app = express();
// eslint-disable-next-line global-require
app.use(router({ specification: require('./specification/api.json') }));
app.listen(3000);