code.gitea.io/gitea@v1.21.7/routers/api/v1/swagger/issue.go (about) 1 // Copyright 2017 The Gitea Authors. All rights reserved. 2 // SPDX-License-Identifier: MIT 3 4 package swagger 5 6 import ( 7 api "code.gitea.io/gitea/modules/structs" 8 ) 9 10 // Issue 11 // swagger:response Issue 12 type swaggerResponseIssue struct { 13 // in:body 14 Body api.Issue `json:"body"` 15 } 16 17 // IssueList 18 // swagger:response IssueList 19 type swaggerResponseIssueList struct { 20 // in:body 21 Body []api.Issue `json:"body"` 22 } 23 24 // Comment 25 // swagger:response Comment 26 type swaggerResponseComment struct { 27 // in:body 28 Body api.Comment `json:"body"` 29 } 30 31 // CommentList 32 // swagger:response CommentList 33 type swaggerResponseCommentList struct { 34 // in:body 35 Body []api.Comment `json:"body"` 36 } 37 38 // TimelineList 39 // swagger:response TimelineList 40 type swaggerResponseTimelineList struct { 41 // in:body 42 Body []api.TimelineComment `json:"body"` 43 } 44 45 // Label 46 // swagger:response Label 47 type swaggerResponseLabel struct { 48 // in:body 49 Body api.Label `json:"body"` 50 } 51 52 // LabelList 53 // swagger:response LabelList 54 type swaggerResponseLabelList struct { 55 // in:body 56 Body []api.Label `json:"body"` 57 } 58 59 // Milestone 60 // swagger:response Milestone 61 type swaggerResponseMilestone struct { 62 // in:body 63 Body api.Milestone `json:"body"` 64 } 65 66 // MilestoneList 67 // swagger:response MilestoneList 68 type swaggerResponseMilestoneList struct { 69 // in:body 70 Body []api.Milestone `json:"body"` 71 } 72 73 // TrackedTime 74 // swagger:response TrackedTime 75 type swaggerResponseTrackedTime struct { 76 // in:body 77 Body api.TrackedTime `json:"body"` 78 } 79 80 // TrackedTimeList 81 // swagger:response TrackedTimeList 82 type swaggerResponseTrackedTimeList struct { 83 // in:body 84 Body []api.TrackedTime `json:"body"` 85 } 86 87 // IssueDeadline 88 // swagger:response IssueDeadline 89 type swaggerIssueDeadline struct { 90 // in:body 91 Body api.IssueDeadline `json:"body"` 92 } 93 94 // IssueTemplates 95 // swagger:response IssueTemplates 96 type swaggerIssueTemplates struct { 97 // in:body 98 Body []api.IssueTemplate `json:"body"` 99 } 100 101 // StopWatch 102 // swagger:response StopWatch 103 type swaggerResponseStopWatch struct { 104 // in:body 105 Body api.StopWatch `json:"body"` 106 } 107 108 // StopWatchList 109 // swagger:response StopWatchList 110 type swaggerResponseStopWatchList struct { 111 // in:body 112 Body []api.StopWatch `json:"body"` 113 } 114 115 // Reaction 116 // swagger:response Reaction 117 type swaggerReaction struct { 118 // in:body 119 Body api.Reaction `json:"body"` 120 } 121 122 // ReactionList 123 // swagger:response ReactionList 124 type swaggerReactionList struct { 125 // in:body 126 Body []api.Reaction `json:"body"` 127 }