15 lines
308 B
Python
15 lines
308 B
Python
"""Health-check endpoint."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from fastapi import APIRouter
|
|
|
|
from app.schemas.health import HealthResponse
|
|
|
|
router = APIRouter(tags=["health"])
|
|
|
|
|
|
@router.get("/health", response_model=HealthResponse)
|
|
async def health_check() -> HealthResponse:
|
|
return HealthResponse()
|