修改schema
This commit is contained in:
@@ -74,3 +74,12 @@ class ProjectInfoResponse(BaseModel):
|
||||
# 里程碑节点
|
||||
preparation_list: list[PreparationDetail] = Field(default_factory=list, description="里程碑节点列表")
|
||||
|
||||
|
||||
class ProjectListResponse(BaseModel):
|
||||
"""
|
||||
项目列表模型:分页
|
||||
"""
|
||||
page: int
|
||||
page_size: int
|
||||
total: int
|
||||
list: list[ProjectInfoResponse]
|
||||
|
||||
Reference in New Issue
Block a user