first commit
This commit is contained in:
20
backend/app/schemas/health.py
Normal file
20
backend/app/schemas/health.py
Normal file
@@ -0,0 +1,20 @@
|
||||
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]
|
||||
Reference in New Issue
Block a user