diff --git a/backend/main.py b/backend/main.py index 82239f43f180564d4e73c65a4260c755e2aecf07..51f0771b85ca32ef4be7f6b1f2acc4ea9b9d4dc1 100644 --- a/backend/main.py +++ b/backend/main.py @@ -52,7 +52,7 @@ async def get_open_api_endpoint(connect_id: str = Cookie(...), db: Session = Dep async def get_documentation(connect_id: str = Cookie(...), db: Session = Depends(get_db)): user = crud.get_user(connect_id, db) if user.admin: - return get_swagger_ui_html(openapi_url="/openapi.json", title="docs") + return get_swagger_ui_html(openapi_url="/api/openapi.json", title="docs") # Integration of routers