10 lines
357 B
Python
10 lines
357 B
Python
"""Pydantic schemas for health responses."""
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class HealthResponse(BaseModel):
|
|
status: str = Field(default="ok", description="Overall service status.")
|
|
service: str = Field(default="backend", description="Service name.")
|
|
environment: str = Field(default="development", description="Runtime environment.")
|