From fa2dc8f9183029a6cf944b60f7036315edfb0c19 Mon Sep 17 00:00:00 2001 From: "Frederick [Bot]" Date: Sat, 28 Mar 2026 23:53:53 +0000 Subject: [PATCH] [skip ci] Updated swagger docs --- pkg/swagger/docs.go | 4 ++-- pkg/swagger/swagger.json | 4 ++-- pkg/swagger/swagger.yaml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkg/swagger/docs.go b/pkg/swagger/docs.go index 35dfe168d..76bc66cc8 100644 --- a/pkg/swagger/docs.go +++ b/pkg/swagger/docs.go @@ -5094,7 +5094,7 @@ const docTemplate = `{ "JWTKeyAuth": [] } ], - "description": "Remove a task comment. The user doing this need to have at least read access to the task this comment belongs to.", + "description": "Get a task comment. The user doing this need to have at least read access to the task this comment belongs to.", "consumes": [ "application/json" ], @@ -5104,7 +5104,7 @@ const docTemplate = `{ "tags": [ "task" ], - "summary": "Remove a task comment", + "summary": "Get a task comment", "parameters": [ { "type": "integer", diff --git a/pkg/swagger/swagger.json b/pkg/swagger/swagger.json index ed5eb8e20..e3c17d1ac 100644 --- a/pkg/swagger/swagger.json +++ b/pkg/swagger/swagger.json @@ -5086,7 +5086,7 @@ "JWTKeyAuth": [] } ], - "description": "Remove a task comment. The user doing this need to have at least read access to the task this comment belongs to.", + "description": "Get a task comment. The user doing this need to have at least read access to the task this comment belongs to.", "consumes": [ "application/json" ], @@ -5096,7 +5096,7 @@ "tags": [ "task" ], - "summary": "Remove a task comment", + "summary": "Get a task comment", "parameters": [ { "type": "integer", diff --git a/pkg/swagger/swagger.yaml b/pkg/swagger/swagger.yaml index 15aa0815f..7e4e1b129 100644 --- a/pkg/swagger/swagger.yaml +++ b/pkg/swagger/swagger.yaml @@ -5227,8 +5227,8 @@ paths: get: consumes: - application/json - description: Remove a task comment. The user doing this need to have at least - read access to the task this comment belongs to. + description: Get a task comment. The user doing this need to have at least read + access to the task this comment belongs to. parameters: - description: Task ID in: path @@ -5261,7 +5261,7 @@ paths: $ref: '#/definitions/models.Message' security: - JWTKeyAuth: [] - summary: Remove a task comment + summary: Get a task comment tags: - task post: