Files
sdb2-backend/app/schemas/common.py
JSC c13285ca4e
Some checks failed
Backend CI / test (push) Failing after 3m51s
refactor: Update response types to use common schemas across API endpoints
2025-07-31 10:40:03 +02:00

21 lines
446 B
Python

"""Common response schemas."""
from pydantic import BaseModel, Field
class MessageResponse(BaseModel):
"""Generic message response."""
message: str = Field(description="Response message")
class StatusResponse(BaseModel):
"""Generic status response."""
status: str = Field(description="Status message")
class HealthResponse(BaseModel):
"""Health check response."""
status: str = Field(description="Health status")