fastapi-versioning
fastapi-versioning copied to clipboard
kwargs is not passed to "subapps" constructor in the "version_route_mapping" loop.
Describe the bug The function "VersionedFastAPI" is receiving the "kwargs", but this is not passed to the constructor of each API Version in the "version_route_mapping" loop. This does not allow that the apps' versions have the same properties that the parent app.
Steps to reproduce the fix:
- Go to the function versioning.VersionedFastAPI, and add the kwargs in the FastAPI constructor.