fastapi-versioning
fastapi-versioning copied to clipboard
api versioning for fastapi web applications
Solves: https://github.com/DeanWay/fastapi-versioning/issues/38
Describe the bug When trying to define global exception handler, catching user defined exception fails with error "Caught handled exception, but response already started." def custom_exception_handler( request: Request, exception: CustomNotFoundError...
**Actual behavior** I have events on startup and shutdown. When I put these configs before VersionedFastAPI initialization, the events does not working. ```python # App Event Setting @app.on_event("startup") async def...
Hello, First of all, thank you for the project. I would like to ask if the project is still active. I can see some PRs opened since last year and...
Till now some arguments of FastAPI where not working, like: description="Core API", swagger_ui_parameters={"docExpansion": "none"}, This issue is yet fixed
**Is your feature request related to a problem? Please describe.** Currently from the examples I've seen to have versioning on multiple router you need to proceed as [such](https://github.com/DeanWay/fastapi-versioning/issues/34). Where you...
**Describe the bug** Some arguments of FastAPI() won't work **To Reproduce** Use argument swagger_ui_parameters={"docExpansion": "none"} and check that it won't work in the versioning, as it won't collapse the tabs....
I ran into this issue, https://github.com/DeanWay/fastapi-versioning/issues/19, and made an easy fix so clients can add the dependency overrides directly to the `VersionedFastAPI`. However, it doesn't work if they overwrite the...
**Describe the bug** Even with `docs_url` set to `None`, the docs are still served. Per the FastAPI documentation, the app should no longer serve docs with this option set. >...
**Is your feature request related to a problem? Please describe.** This is a question regarding #35. I am curious about why you would want the keyword "latest" to be in...