diff options
Diffstat (limited to 'routers/api/v1/swagger/issue.go')
-rw-r--r-- | routers/api/v1/swagger/issue.go | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/routers/api/v1/swagger/issue.go b/routers/api/v1/swagger/issue.go index 68c0a9a38d..b12ea0096a 100644 --- a/routers/api/v1/swagger/issue.go +++ b/routers/api/v1/swagger/issue.go @@ -99,23 +99,16 @@ type swaggerResponseStopWatchList struct { Body []api.StopWatch `json:"body"` } -// EditReactionOption -// swagger:response EditReactionOption -type swaggerEditReactionOption struct { +// Reaction +// swagger:response Reaction +type swaggerReaction struct { // in:body - Body api.EditReactionOption `json:"body"` + Body api.Reaction `json:"body"` } -// ReactionResponse -// swagger:response ReactionResponse -type swaggerReactionResponse struct { +// ReactionList +// swagger:response ReactionList +type swaggerReactionList struct { // in:body - Body api.ReactionResponse `json:"body"` -} - -// ReactionResponseList -// swagger:response ReactionResponseList -type swaggerReactionResponseList struct { - // in:body - Body []api.ReactionResponse `json:"body"` + Body []api.Reaction `json:"body"` } |