ryu-js / swagger.js
randydev's picture
Update swagger.js
02ea4c3 verified
raw
history blame
353 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 };