feat: get boards endpoint

This commit is contained in:
2025-08-03 13:42:11 +04:00
parent 8ef265cd45
commit ff147f93b1
9 changed files with 105 additions and 5 deletions

32
schemas/board.py Normal file
View File

@ -0,0 +1,32 @@
from schemas.base import BaseSchema
from schemas.status import StatusSchema
# region Entity
class BaseBoardSchema(BaseSchema):
name: str
class BoardSchema(BaseBoardSchema):
id: int
lexorank: str
statuses: list[StatusSchema]
# endregion
# region Requests
# endregion
# region Responses
class GetBoardsResponse(BaseSchema):
boards: list[BoardSchema]
# endregion Responses