feat: apply rel-001 feedback cleanup

This commit is contained in:
2026-06-05 13:57:46 +09:00
parent 84de34c301
commit 2470c0a00c
28 changed files with 992 additions and 32 deletions
+3 -1
View File
@@ -5,12 +5,14 @@ from __future__ import annotations
from datetime import datetime
from typing import Literal
from pydantic import BaseModel, Field, field_validator
from pydantic import BaseModel, ConfigDict, Field, field_validator
from app.schemas.user import UserResponse
class LoginRequest(BaseModel):
model_config = ConfigDict(extra="forbid")
username: str = Field(min_length=1)
password: str = Field(min_length=1)
+1 -1
View File
@@ -121,7 +121,7 @@ class LedgerTradeRequest(BaseModel):
class LedgerTradeResponse(BaseModel):
ledger_entry_id: int
asset_id: str
portfolio_id: str
order_id: str
execution_id: str
side: str