Files
mkt.ose.tw/backend/app/schemas/health.py
2026-03-23 20:23:58 +08:00

21 lines
360 B
Python

from __future__ import annotations
from app.schemas.common import ApiModel
class HealthStatusResponse(ApiModel):
status: str
class ReadinessDependency(ApiModel):
name: str
configured: bool
detail: str
class ReadinessStatusResponse(ApiModel):
status: str
app_env: str
app_name: str
dependencies: list[ReadinessDependency]