mirror of https://github.com/tiangolo/fastapi.git
Fix code style
This commit is contained in:
parent
54b734e015
commit
20bbf3ead0
|
|
@ -423,7 +423,7 @@ def get_openapi(
|
||||||
if result:
|
if result:
|
||||||
path, security_schemes, path_definitions = result
|
path, security_schemes, path_definitions = result
|
||||||
if prefix:
|
if prefix:
|
||||||
route.path_format= prefix + route.path_format
|
route.path_format = prefix + route.path_format
|
||||||
if path:
|
if path:
|
||||||
paths.setdefault(route.path_format, {}).update(path)
|
paths.setdefault(route.path_format, {}).update(path)
|
||||||
if security_schemes:
|
if security_schemes:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue