@@ -13,11 +13,11 @@ import (
13
13
api "code.gitea.io/gitea/modules/structs"
14
14
)
15
15
16
- // GetIssueCommentReactions list reactions of a issue comment
16
+ // GetIssueCommentReactions list reactions of a comment from an issue
17
17
func GetIssueCommentReactions (ctx * context.APIContext ) {
18
18
// swagger:operation GET /repos/{owner}/{repo}/issues/comments/{id}/reactions issue issueGetCommentReactions
19
19
// ---
20
- // summary: Get a list reactions of a issue comment
20
+ // summary: Get a list of reactions from a comment of an issue
21
21
// consumes:
22
22
// - application/json
23
23
// produces:
@@ -83,11 +83,11 @@ func GetIssueCommentReactions(ctx *context.APIContext) {
83
83
ctx .JSON (http .StatusOK , result )
84
84
}
85
85
86
- // PostIssueCommentReaction add a reaction to a comment of a issue
86
+ // PostIssueCommentReaction add a reaction to a comment of an issue
87
87
func PostIssueCommentReaction (ctx * context.APIContext , form api.EditReactionOption ) {
88
88
// swagger:operation POST /repos/{owner}/{repo}/issues/comments/{id}/reactions issue issuePostCommentReaction
89
89
// ---
90
- // summary: Add a reaction to a comment of a issue comment
90
+ // summary: Add a reaction to a comment of an issue
91
91
// consumes:
92
92
// - application/json
93
93
// produces:
@@ -124,11 +124,11 @@ func PostIssueCommentReaction(ctx *context.APIContext, form api.EditReactionOpti
124
124
changeIssueCommentReaction (ctx , form , true )
125
125
}
126
126
127
- // DeleteIssueCommentReaction list reactions of a issue comment
127
+ // DeleteIssueCommentReaction remove a reaction from a comment of an issue
128
128
func DeleteIssueCommentReaction (ctx * context.APIContext , form api.EditReactionOption ) {
129
129
// swagger:operation DELETE /repos/{owner}/{repo}/issues/comments/{id}/reactions issue issueDeleteCommentReaction
130
130
// ---
131
- // summary: Remove a reaction from a comment of a issue comment
131
+ // summary: Remove a reaction from a comment of an issue
132
132
// consumes:
133
133
// - application/json
134
134
// produces:
@@ -219,11 +219,11 @@ func changeIssueCommentReaction(ctx *context.APIContext, form api.EditReactionOp
219
219
}
220
220
}
221
221
222
- // GetIssueReactions list reactions of a issue comment
222
+ // GetIssueReactions list reactions of an issue
223
223
func GetIssueReactions (ctx * context.APIContext ) {
224
224
// swagger:operation GET /repos/{owner}/{repo}/issues/{index}/reactions issue issueGetIssueReactions
225
225
// ---
226
- // summary: Get a list reactions of a issue
226
+ // summary: Get a list reactions of an issue
227
227
// consumes:
228
228
// - application/json
229
229
// produces:
@@ -289,11 +289,11 @@ func GetIssueReactions(ctx *context.APIContext) {
289
289
ctx .JSON (http .StatusOK , result )
290
290
}
291
291
292
- // PostIssueReaction add a reaction to a comment of a issue
292
+ // PostIssueReaction add a reaction to an issue
293
293
func PostIssueReaction (ctx * context.APIContext , form api.EditReactionOption ) {
294
294
// swagger:operation POST /repos/{owner}/{repo}/issues/{index}/reactions issue issuePostIssueReaction
295
295
// ---
296
- // summary: Add a reaction to a comment of a issue
296
+ // summary: Add a reaction to an issue
297
297
// consumes:
298
298
// - application/json
299
299
// produces:
@@ -330,11 +330,11 @@ func PostIssueReaction(ctx *context.APIContext, form api.EditReactionOption) {
330
330
changeIssueReaction (ctx , form , true )
331
331
}
332
332
333
- // DeleteIssueReaction list reactions of a issue comment
333
+ // DeleteIssueReaction remove a reaction from an issue
334
334
func DeleteIssueReaction (ctx * context.APIContext , form api.EditReactionOption ) {
335
335
// swagger:operation DELETE /repos/{owner}/{repo}/issues/{index}/reactions issue issueDeleteIssueReaction
336
336
// ---
337
- // summary: Remove a reaction from a comment of a issue
337
+ // summary: Remove a reaction from an issue
338
338
// consumes:
339
339
// - application/json
340
340
// produces:
0 commit comments