Browse Source

Update fastapi/openapi/utils.py

pull/4657/head
Lorhan Sohaky 3 years ago
committed by GitHub
parent
commit
d317a51030
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      fastapi/openapi/utils.py

3
fastapi/openapi/utils.py

@ -422,8 +422,7 @@ def get_openapi(
)
if result:
path, security_schemes, path_definitions = result
if prefix:
route.path_format = prefix + route.path_format
route.path_format = prefix + route.path_format
if path:
paths.setdefault(route.path_format, {}).update(path)
if security_schemes:

Loading…
Cancel
Save