Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastAPI like "root_path" for swagger beind the proxy #206

Open
tokwiat opened this issue Nov 28, 2024 · 0 comments
Open

FastAPI like "root_path" for swagger beind the proxy #206

tokwiat opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tokwiat
Copy link

tokwiat commented Nov 28, 2024

Environment:

  • Python version: 3.9
  • Operating system: Azure Cloud
  • Flask version: 3.0.3
  • flask-openapi3 version: 4.0.3
  • flask-openapi3-swagger: 5.18.2

Hey, is there a way to provide "root_path" or any other arg for swagger UI to correctly resolve API that is behind proxy (url has some prefix before "/") which is configured in Azure Cloud?

This is related article for FastAPI and it's swagger config:
https://fastapi.tiangolo.com/advanced/behind-a-proxy/

@tokwiat tokwiat added the bug Something isn't working label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant