diff --git a/app/main.py b/app/main.py index b263aed7a18bff746d44d55be12c38a1f1934258..925a626869f02e122540df3d9abe15318087da0f 100644 --- a/app/main.py +++ b/app/main.py @@ -194,7 +194,7 @@ app.mount("/static", StaticFiles(directory="./app/static"), name="static") @app.get("/docs", include_in_schema=False) def custom_swagger_ui_html(): return get_swagger_ui_html( - openapi_url=app.openapi_url, + openapi_url="/api/openapi.json", title=app.title + " - Offline Swagger UI", swagger_js_url="/static/swagger.js", swagger_css_url="/static/swagger.css",