4040@router .post (
4141 "/projects/{project_uuid}/comments" ,
4242 response_model = Envelope [dict [Literal ["comment_id" ], CommentID ]],
43- summary = "Create a new comment for a specific project. The request body should contain the comment contents and user information." ,
43+ description = "Create a new comment for a specific project. The request body should contain the comment contents and user information." ,
4444 status_code = 201 ,
4545)
4646async def create_project_comment (
@@ -57,7 +57,7 @@ async def create_project_comment(
5757@router .get (
5858 "/projects/{project_uuid}/comments" ,
5959 response_model = Envelope [list [ProjectsCommentsAPI ]],
60- summary = "Retrieve all comments for a specific project." ,
60+ description = "Retrieve all comments for a specific project." ,
6161)
6262async def list_project_comments (
6363 project_uuid : ProjectID , limit : int = 20 , offset : NonNegativeInt = 0
@@ -73,7 +73,7 @@ async def list_project_comments(
7373@router .put (
7474 "/projects/{project_uuid}/comments/{comment_id}" ,
7575 response_model = Envelope [ProjectsCommentsAPI ],
76- summary = "Update the contents of a specific comment for a project. The request body should contain the updated comment contents." ,
76+ description = "Update the contents of a specific comment for a project. The request body should contain the updated comment contents." ,
7777)
7878async def update_project_comment (
7979 project_uuid : ProjectID ,
@@ -90,7 +90,7 @@ async def update_project_comment(
9090
9191@router .delete (
9292 "/projects/{project_uuid}/comments/{comment_id}" ,
93- summary = "Delete a specific comment associated with a project." ,
93+ description = "Delete a specific comment associated with a project." ,
9494 status_code = 204 ,
9595)
9696async def delete_project_comment (project_uuid : ProjectID , comment_id : CommentID ):
@@ -105,7 +105,7 @@ async def delete_project_comment(project_uuid: ProjectID, comment_id: CommentID)
105105@router .get (
106106 "/projects/{project_uuid}/comments/{comment_id}" ,
107107 response_model = Envelope [ProjectsCommentsAPI ],
108- summary = "Retrieve a specific comment by its ID within a project." ,
108+ description = "Retrieve a specific comment by its ID within a project." ,
109109)
110110async def get_project_comment (project_uuid : ProjectID , comment_id : CommentID ):
111111 ...
0 commit comments