9 lines
170 B
Python
9 lines
170 B
Python
from fastapi import APIRouter
|
|
|
|
router = APIRouter(prefix='/api/v1/health', tags=['health'])
|
|
|
|
|
|
@router.get('')
|
|
def health() -> dict[str, str]:
|
|
return {'status': 'ok'}
|