api "code.gitea.io/gitea/modules/structs"
)
-// GetIssueCommentReactions list reactions of a issue comment
+// GetIssueCommentReactions list reactions of a comment from an issue
func GetIssueCommentReactions(ctx *context.APIContext) {
// swagger:operation GET /repos/{owner}/{repo}/issues/comments/{id}/reactions issue issueGetCommentReactions
// ---
- // summary: Get a list reactions of a issue comment
+ // summary: Get a list of reactions from a comment of an issue
// consumes:
// - application/json
// produces:
ctx.JSON(http.StatusOK, result)
}
-// PostIssueCommentReaction add a reaction to a comment of a issue
+// PostIssueCommentReaction add a reaction to a comment of an issue
func PostIssueCommentReaction(ctx *context.APIContext, form api.EditReactionOption) {
// swagger:operation POST /repos/{owner}/{repo}/issues/comments/{id}/reactions issue issuePostCommentReaction
// ---
- // summary: Add a reaction to a comment of a issue comment
+ // summary: Add a reaction to a comment of an issue
// consumes:
// - application/json
// produces:
changeIssueCommentReaction(ctx, form, true)
}
-// DeleteIssueCommentReaction list reactions of a issue comment
+// DeleteIssueCommentReaction remove a reaction from a comment of an issue
func DeleteIssueCommentReaction(ctx *context.APIContext, form api.EditReactionOption) {
// swagger:operation DELETE /repos/{owner}/{repo}/issues/comments/{id}/reactions issue issueDeleteCommentReaction
// ---
- // summary: Remove a reaction from a comment of a issue comment
+ // summary: Remove a reaction from a comment of an issue
// consumes:
// - application/json
// produces:
}
}
-// GetIssueReactions list reactions of a issue comment
+// GetIssueReactions list reactions of an issue
func GetIssueReactions(ctx *context.APIContext) {
// swagger:operation GET /repos/{owner}/{repo}/issues/{index}/reactions issue issueGetIssueReactions
// ---
- // summary: Get a list reactions of a issue
+ // summary: Get a list reactions of an issue
// consumes:
// - application/json
// produces:
ctx.JSON(http.StatusOK, result)
}
-// PostIssueReaction add a reaction to a comment of a issue
+// PostIssueReaction add a reaction to an issue
func PostIssueReaction(ctx *context.APIContext, form api.EditReactionOption) {
// swagger:operation POST /repos/{owner}/{repo}/issues/{index}/reactions issue issuePostIssueReaction
// ---
- // summary: Add a reaction to a comment of a issue
+ // summary: Add a reaction to an issue
// consumes:
// - application/json
// produces:
changeIssueReaction(ctx, form, true)
}
-// DeleteIssueReaction list reactions of a issue comment
+// DeleteIssueReaction remove a reaction from an issue
func DeleteIssueReaction(ctx *context.APIContext, form api.EditReactionOption) {
// swagger:operation DELETE /repos/{owner}/{repo}/issues/{index}/reactions issue issueDeleteIssueReaction
// ---
- // summary: Remove a reaction from a comment of a issue
+ // summary: Remove a reaction from an issue
// consumes:
// - application/json
// produces:
"tags": [
"issue"
],
- "summary": "Get a list reactions of a issue comment",
+ "summary": "Get a list of reactions from a comment of an issue",
"operationId": "issueGetCommentReactions",
"parameters": [
{
"tags": [
"issue"
],
- "summary": "Add a reaction to a comment of a issue comment",
+ "summary": "Add a reaction to a comment of an issue",
"operationId": "issuePostCommentReaction",
"parameters": [
{
"tags": [
"issue"
],
- "summary": "Remove a reaction from a comment of a issue comment",
+ "summary": "Remove a reaction from a comment of an issue",
"operationId": "issueDeleteCommentReaction",
"parameters": [
{
"tags": [
"issue"
],
- "summary": "Get a list reactions of a issue",
+ "summary": "Get a list reactions of an issue",
"operationId": "issueGetIssueReactions",
"parameters": [
{
"tags": [
"issue"
],
- "summary": "Add a reaction to a comment of a issue",
+ "summary": "Add a reaction to an issue",
"operationId": "issuePostIssueReaction",
"parameters": [
{
"tags": [
"issue"
],
- "summary": "Remove a reaction from a comment of a issue",
+ "summary": "Remove a reaction from an issue",
"operationId": "issueDeleteIssueReaction",
"parameters": [
{