()
| 10 | |
| 11 | @app.get("/docs", include_in_schema=False) |
| 12 | async def custom_swagger_ui_html(): |
| 13 | return get_swagger_ui_html( |
| 14 | openapi_url=app.openapi_url, |
| 15 | title=app.title + " - Swagger UI", |
| 16 | oauth2_redirect_url=app.swagger_ui_oauth2_redirect_url, |
| 17 | swagger_js_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js", |
| 18 | swagger_css_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css", |
| 19 | ) |
| 20 | |
| 21 | |
| 22 | @app.get(app.swagger_ui_oauth2_redirect_url, include_in_schema=False) |
nothing calls this directly
no test coverage detected
searching dependent graphs…