Initial deployment setup
Deploy staging / deploy (push) Failing after 6s

This commit is contained in:
root
2026-08-31 16:45:24 +09:00
commit 33453ecc55
3475 changed files with 850363 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
"""Shared error response schemas for the public Secretary API contract."""
from pydantic import BaseModel, ConfigDict, Field
class ApiErrorResponse(BaseModel):
"""Stable error shape shared with the NestJS API."""
model_config = ConfigDict(populate_by_name=True)
code: str = Field(description="Machine-readable error code", examples=["NOT_FOUND"])
message: str | list[str] = Field(description="Human-readable error message")
error: str = Field(description="Error category")
status_code: int = Field(
alias="statusCode",
description="HTTP status code",
examples=[404],
)
path: str = Field(description="Request path", examples=["/api/tickets/1"])