feat: add pydantic schemas for location API

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Misaka_Company
2026-05-11 11:06:00 +08:00
parent e203008866
commit 7a3cc42798
3 changed files with 46 additions and 0 deletions

7
app/schemas/common.py Normal file
View File

@@ -0,0 +1,7 @@
from pydantic import BaseModel
class ErrorResponse(BaseModel):
error_code: str
message: str
detail: dict | None = None