commit
9c5fef1a4d
412 files changed
+94582
No files matched your search
@@ -0,0 +1,13 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
from sakura_cloud.schemas.common import ApiResponse
|
||||
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@router.get("/health", response_model=ApiResponse[dict[str, str]])
|
||||
def health_check() -> ApiResponse[dict[str, str]]:
|
||||
return ApiResponse(data={"status": "ok", "service": "sakura-cloud"})
|
||||
Reference in new issue
Block a user