21 lines
446 B
Python
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") |