diff --git a/src/leapfrogai_api/main.py b/src/leapfrogai_api/main.py index f6d692c90..35e45cfbe 100644 --- a/src/leapfrogai_api/main.py +++ b/src/leapfrogai_api/main.py @@ -63,7 +63,7 @@ async def lifespan(app: FastAPI): app = FastAPI(lifespan=lifespan) -@app.get("/") +@app.get("/", include_in_schema=False) async def root(): """Intercepts the root path and redirects to the API documentation.""" return RedirectResponse(url="/docs")