Fix a missing param in the docs

This commit is contained in:
Robert Anthony 2025-06-23 23:04:30 -04:00
parent 0de2e7c3e9
commit 5faf2ed451
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ async def custom_swagger_ui_html(req: Request):
return get_swagger_ui_html(
openapi_url=f"{root_path}/{app.openapi_url}",
title=app.title + " - Swagger UI",
oauth2_redirect_url=app.swagger_ui_oauth2_redirect_url,
oauth2_redirect_url=f"{root_path}/{app.swagger_ui_oauth2_redirect_url}",
swagger_js_url=f"{root_path}/static/swagger-ui-bundle.js",
swagger_css_url=f"{root_path}/static/swagger-ui.css",
)