Files
sdb2-backend/app/api/v1/main.py
JSC c13285ca4e
Some checks failed
Backend CI / test (push) Failing after 3m51s
refactor: Update response types to use common schemas across API endpoints
2025-07-31 10:40:03 +02:00

18 lines
385 B
Python

"""Main router for v1 endpoints."""
from fastapi import APIRouter
from app.core.logging import get_logger
from app.schemas.common import HealthResponse
router = APIRouter()
logger = get_logger(__name__)
@router.get("/")
def health() -> HealthResponse:
"""Health check endpoint."""
logger.info("Health check endpoint accessed")
return HealthResponse(status="healthy")