Adds middleware to your express app to serve the Swagger UI bound to your Swagger document. This acts as living documentation for your API hosted from within your app.
MIT License
1.43k
stars
228
forks
source link
Swagger with domain path from AWS API Gateway #301
I can't open swagger in the https://domain.com/v1/api. Locally everything works fine. ( http://localhost:4001/api ). After deployment in the testing link, everything works fine also ( https://e4nub5bjh6.execute.us.amazonaws.com/dev/api ). But not want to work on the prod link: https://domain.com/v1/api
Without path v1 everything work ( https://domain.com/api ).
My code // lambda.ts
How can I fix this issue?