21 lines
360 B
Python
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]
|