first commit
Some checks failed
Deploy / lint (push) Failing after 7s
Deploy / test (push) Has been skipped
Deploy / deploy (push) Has been skipped

This commit is contained in:
Dennis Thiessen
2026-02-20 17:31:01 +01:00
commit 61ab24490d
160 changed files with 17034 additions and 0 deletions

18
app/schemas/auth.py Normal file
View File

@@ -0,0 +1,18 @@
"""Auth request/response schemas."""
from pydantic import BaseModel, Field
class RegisterRequest(BaseModel):
username: str = Field(..., min_length=1)
password: str = Field(..., min_length=6)
class LoginRequest(BaseModel):
username: str
password: str
class TokenResponse(BaseModel):
access_token: str
token_type: str = "bearer"