You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trailing slashes get automatically removed by AWS API Gateway, but swagger-ui-express requires it. Page displays "Redirecting to /docs/" and not swagger UI.
I tried changing:
app.use('/docs', swaggerUi.serve, swaggerUi.setup(swaggerSpec));
to
app.use('/docs/', swaggerUi.serve, swaggerUi.setup(swaggerSpec));
...but neither work.
The text was updated successfully, but these errors were encountered:
Trailing slashes get automatically removed by AWS API Gateway, but swagger-ui-express requires it. Page displays "Redirecting to /docs/" and not swagger UI.
I tried changing:
app.use('/docs', swaggerUi.serve, swaggerUi.setup(swaggerSpec));
to
app.use('/docs/', swaggerUi.serve, swaggerUi.setup(swaggerSpec));
...but neither work.
The text was updated successfully, but these errors were encountered: