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

Issue with OpenAPIHandler doc route for /openapi.json when using root_path prefix #488

Open
jlujan-invitae opened this issue Mar 22, 2024 · 0 comments

Comments

@jlujan-invitae
Copy link

When setting a root_path of "/prefix" on the uvicorn app, the /docs route from the example/template app results in a 404 when attempting to load /openapi.json. Explicitly setting OpenAPIHandler(...,json_spec_path="/prefix/openapi.json") or to a full URL also returns 404.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant