Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/app/endpoints/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,14 @@ async def root_endpoint_handler(
auth: Annotated[AuthTuple, Depends(auth_dependency)],
request: Request,
) -> HTMLResponse:
"""Handle request to the / endpoint."""
"""
Handle GET requests to the root ("/") endpoint and returns the static HTML index page.

Returns:
HTMLResponse: The HTML content of the index page, including a heading,
embedded image with the service icon, and links to the API documentation
via Swagger UI and ReDoc.
"""
# Used only for authorization
_ = auth

Expand Down
2 changes: 1 addition & 1 deletion src/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"""Utils."""
"""Utility classes and functions for the Lightspeed Stack core service."""
Loading