// swagger.js import swaggerJsDoc from 'swagger-jsdoc'; const swaggerOptions = { definition: { openapi: '3.0.0', info: { title: 'AkenoX API Js', version: '1.0.0', description: 'API documentation for my project', }, servers: [ { url: 'https://randydev-ryu-js.hf.space', // Your API base URL }, ], }, apis: ['./*.js'], }; const swaggerDocs = swaggerJsDoc(swaggerOptions); module.exports = swaggerDocs;