diff --git a/app/schemas.py b/app/schemas.py index d09c9ef..db57946 100644 --- a/app/schemas.py +++ b/app/schemas.py @@ -61,3 +61,12 @@ class User(UserBase): class Config: orm_mode = True + + +class APISimpleSuccessResponse(BaseModel): + success: bool = True + +class APISimpleErrorResponse(BaseModel): + success: bool = False + errors: Optional[List[str]] +