Multiple redirects to the swagger endpoint using swagger in express app with serverless
问题 I'm making an application with express-serverless and I want to use swagger-jsdoc and swagger-ui-express during offline development. This is my configuration for swagger: const express = require('serverless-express/express'); const router = express.Router(); const options = { swaggerDefinition: { info: { title: 'REST - Swagger', version: '1.0.0', description: 'REST API with Swagger doc', contact: { email: 'me@someemail.com' } }, tags: [ { name: 'Stuff', description: 'Stuff API' } ], schemes: