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