Skip to content

Commit

Permalink
chore: pass swagger params to swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
dantetemplar committed Apr 7, 2024
1 parent 10435e0 commit 66a9986
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
],
root_path=settings.app_root_path,
root_path_in_servers=False,
swagger_ui_oauth2_redirect_url=None,
swagger_ui_parameters={"tryItOutEnabled": True, "persistAuthorization": True, "filter": True},
generate_unique_id_function=docs.generate_unique_operation_id,
lifespan=lifespan,
docs_url=None,
Expand Down Expand Up @@ -66,4 +64,6 @@ async def swagger_ui_html(request: Request):
swagger_js_url="https://api.innohassle.ru/swagger/swagger-ui-bundle.js",
swagger_css_url="https://api.innohassle.ru/swagger/swagger-ui.css",
swagger_favicon_url="https://api.innohassle.ru/swagger/favicon.png",
oauth2_redirect_url=None,
swagger_ui_parameters={"tryItOutEnabled": True, "persistAuthorization": True, "filter": True},
)

0 comments on commit 66a9986

Please sign in to comment.