mirror of https://github.com/tiangolo/fastapi.git
Update fastapi/openapi/utils.py
This commit is contained in:
parent
472401c4a3
commit
d317a51030
|
|
@ -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…
Reference in New Issue