Bootstrap Python rewrite skeleton
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.schemas.health import StatusResponse
|
||||
|
||||
router = APIRouter(tags=["system"])
|
||||
|
||||
|
||||
@router.get("/status", response_model=StatusResponse)
|
||||
def get_status() -> StatusResponse:
|
||||
return StatusResponse(status="ok")
|
||||
|
||||
Reference in New Issue
Block a user