refac: /users/all endpoint

This commit is contained in:
Timothy Jaeryang Baek
2025-07-18 11:46:14 +04:00
parent 67bc431247
commit 6ccf783f00
2 changed files with 14 additions and 1 deletions
+12
View File
@@ -74,6 +74,18 @@ class UserListResponse(BaseModel):
total: int
class UserInfoResponse(BaseModel):
id: str
name: str
email: str
role: str
class UserInfoListResponse(BaseModel):
users: list[UserInfoResponse]
total: int
class UserResponse(BaseModel):
id: str
name: str