Skip to content

debitoor/express-openapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);