From 15fd822916797ea3fed3e0ef42e76f8679dfb140 Mon Sep 17 00:00:00 2001 From: Noam Tamim Date: Wed, 9 Apr 2025 19:45:17 +0300 Subject: [PATCH] Set FastAPI title to `Open WebUI` This affects the generated OpenAPI (`/docs` and `/openapi.json`). --- backend/open_webui/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index c9ca059c2..2bbd25ae2 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -426,6 +426,7 @@ async def lifespan(app: FastAPI): app = FastAPI( + title="Open WebUI", docs_url="/docs" if ENV == "dev" else None, openapi_url="/openapi.json" if ENV == "dev" else None, redoc_url=None,