flask-swagger-ui
flask-swagger-ui copied to clipboard
Blank page when deploying to AWS Lambda
Hi, I am using zappa to deploy to AWS lambda using API gateway. My swagger URL is as below and endpoint is something like: https://.execute-api.eu-north-1.amazonaws.com/dev/swagger/ SWAGGER_URL = '/swagger' When i access this i get a blank page because the swagger resources are being fetched from different URL therefore API gateway gives 403. In below URL /dev is missing. https://.execute-api.eu-north-1.amazonaws.com/swagger/swagger-ui-bundle.js
I'm running into this issue now, were you able to figure out how to get around it? I've tried setting up api gateway to proxy the requests for the /swagger/*
requests, but I don't think that works since the flask application doesn't have a route for those endpoints?