ryu-js / swagger.js
randydev's picture
Update swagger.js
ca65e34 verified
raw
history blame
345 Bytes
import swaggerJsDoc from 'swagger-jsdoc';
const swaggerOptions = {
definition: {
swagger: "2.0",
openapi: '3.1.0',
info: {
title: 'AkenoX API Js',
version: '1.2.0',
description: 'API Description'
}
},
apis: ['./routes/*.js'],
};
const swaggerDocs = swaggerJsDoc(swaggerOptions);
export { swaggerDocs };