Reorganize to fastapi template
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@router.get("/health", tags=["health"])
|
||||
async def health_check():
|
||||
"""Minimal health endpoint."""
|
||||
return {"status": "ok"}
|
||||
Reference in New Issue
Block a user