Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 357 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 357 Bytes

express-openapi

$ npm install @debitoor/express-openapi

Usage

const { createOpenApiRouter } = require('@debitoor/express-openapi');
const express = require('express');
const openapi = require('./openapi.json');

const app = express();
app.use(createOpenApiRouter(openapi, { security, operations });
app.listen(8181);