File size: 325 Bytes
ce6ebf5 4d95d94 a63178b 4d95d94 1548870 4d95d94 40a8d8a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import swaggerJsDoc from 'swagger-jsdoc';
const swaggerOptions = {
definition: {
openapi: '3.0.0',
info: {
title: 'AkenoX API Js',
version: '1.0.0',
description: 'API Description'
}
},
apis: ['./routes/*.js'],
};
const swaggerDocs = swaggerJsDoc(swaggerOptions);
export { swaggerDocs }; |