diff --git a/src/api/bad.py b/src/api/bad.py new file mode 100644 index 0000000..aed5cc6 --- /dev/null +++ b/src/api/bad.py @@ -0,0 +1 @@ +# Bad implementation diff --git a/src/api/healthz.py b/src/api/healthz.py new file mode 100644 index 0000000..a9e4547 --- /dev/null +++ b/src/api/healthz.py @@ -0,0 +1,9 @@ +"""Health check endpoint.""" +from fastapi import APIRouter + +router = APIRouter() + +@router.get("/api/healthz") +async def healthz(): + """Lightweight health check.""" + return {"status": "ok"}