We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cca319d commit d4cf1faCopy full SHA for d4cf1fa
fast_version/app.py
@@ -96,7 +96,7 @@ def _custom_openapi(self: fastapi.FastAPI) -> dict[str, typing.Any]:
96
continue
97
98
# trick to avoid merging routes
99
- route_copy: VersionedAPIRoute = copy.copy(route_item)
+ route_copy = copy.copy(route_item)
100
route_copy.path_format = f"{route_copy.path_format}:{route_copy.version_str}"
101
routes.append(route_copy)
102
0 commit comments