ryu-js / swagger.js
randydev's picture
Update swagger.js
9769a1f verified
raw
history blame
291 Bytes
import swaggerJsdoc from 'swagger-jsdoc';
const options = {
definition: {
openapi: '3.0.0',
info: {
title: 'AkenoXJS',
version: '1.0.0',
},
},
apis: ['./src/routes*.js'],
};
const openapiSpecification = swaggerJsdoc(options);
export { openapiSpecification };