This commit is contained in:
2024-03-31 07:36:35 +03:00
parent df6e2e7fb1
commit 5de5b9b3e4
12 changed files with 1469 additions and 56 deletions

View File

@@ -1,7 +1,7 @@
from schemas.base import CustomModel
from schemas.base import CustomModelCamel, CustomModelSnake
class AuthLoginRequest(CustomModel):
class AuthLoginRequest(CustomModelSnake):
auth_date: int
first_name: str
hash: str
@@ -9,5 +9,5 @@ class AuthLoginRequest(CustomModel):
photo_url: str
class AuthLoginResponse(CustomModel):
class AuthLoginResponse(CustomModelCamel):
access_token: str