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