feat: Update API documentation endpoints and enhance application metadata for SBD v2
All checks were successful
Backend CI / lint (push) Successful in 9m22s
Backend CI / test (push) Successful in 3m54s

This commit is contained in:
JSC
2025-08-13 13:56:01 +02:00
parent bee1076239
commit 87d6e6ed67
4 changed files with 72 additions and 75 deletions

View File

@@ -59,12 +59,9 @@ async def lifespan(_app: FastAPI) -> AsyncGenerator[None, None]:
def create_app() -> FastAPI:
"""Create and configure the FastAPI application."""
app = FastAPI(
title="Soundboard API",
description=(
"API for the Soundboard application with authentication, "
"sound management, and real-time features"
),
version="1.0.0",
title="SBD v2 API",
description=("API for the SBD v2 application"),
version="2.0.0",
lifespan=lifespan,
# Configure docs URLs for reverse proxy setup
docs_url="/api/docs", # Swagger UI at /api/docs