|
|
@@ -6,7 +6,7 @@ from typing import Optional, List |
|
|
|
|
|
|
|
class UserCreate(BaseModel): |
|
|
|
Email: EmailStr |
|
|
|
Password: str = Field(..., min_length=7, max_length=20) |
|
|
|
Password: str = Field(...) |
|
|
|
Name: str = Field(..., min_length=3, max_length=50) |
|
|
|
MiddleName: str = Field(None) |
|
|
|
LastName: str = Field(..., min_length=3, max_length=50) |
|
|
|