Disable API docs that display very much broken due to missing request/response typing.

This commit is contained in:
2026-01-27 23:27:42 +00:00
parent 13c49aebfd
commit 3d49cbf2d6
6 changed files with 12 additions and 6 deletions
+7 -1
View File
@@ -59,7 +59,13 @@ async def lifespan(app: FastAPI): # pragma: no cover - startup path
await stop_background()
app = FastAPI(lifespan=lifespan, redirect_slashes=False)
app = FastAPI(
lifespan=lifespan,
redirect_slashes=False,
docs_url=None,
redoc_url=None,
openapi_url=None,
)
# Apply redirections to auth-host if configured (deny access to restricted endpoints, remove /auth/)
app.middleware("http")(auth_host.redirect_middleware)