Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | 4x 4x 4x | const config = require('../config/config'); const swaggerDef = { openapi: '3.0.0', info: { title: 'node-express-boilerplate API documentation', description: 'Open source project of Marcos Morelli', license: { name: 'MIT', url: 'https://github.com/MarcosMorelli/node-express-boilerplate/blob/main/LICENSE', }, }, externalDocs: { url: 'https://github.com/MarcosMorelli/node-express-boilerplate', description: 'Find more info here', }, servers: [ { url: 'https://morelli-node-express-boilerplate.up.railway.app/v1', description: 'Live demo server', }, { url: `http://localhost:${config.port}/v1`, description: 'Local server', }, ], }; module.exports = swaggerDef; |