16 lines
327 B
Python
16 lines
327 B
Python
"""Main router for v1 endpoints."""
|
|
|
|
from fastapi import APIRouter
|
|
|
|
from app.core.logging import get_logger
|
|
|
|
router = APIRouter()
|
|
|
|
logger = get_logger(__name__)
|
|
|
|
|
|
@router.get("/")
|
|
def health() -> dict[str, str]:
|
|
"""Health check endpoint."""
|
|
logger.info("Health check endpoint accessed")
|
|
return {"status": "healthy"} |