from pydantic import BaseModel, Field # Base Schema class HealthCheckBase(BaseModel): pass # Create Schema class HealthCheckCreate(HealthCheckBase): pass # Response Schema class HealthCheck(HealthCheckBase): status: str = Field(..., example="ok") class Config: schema_extra = { "example": { "status": "ok" } }