9 lines
185 B
Python
9 lines
185 B
Python
from fastapi import APIRouter
|
|
|
|
router = APIRouter(prefix="/health", tags=["health"])
|
|
|
|
|
|
@router.get("", summary="Health check")
|
|
def health() -> dict[str, str]:
|
|
return {"status": "ok"}
|