You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

issue.go 1.4 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // Copyright 2017 The Gitea Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package swagger
  5. import (
  6. api "code.gitea.io/sdk/gitea"
  7. )
  8. // swagger:response Issue
  9. type swaggerResponseIssue struct {
  10. // in:body
  11. Body api.Issue `json:"body"`
  12. }
  13. // swagger:response IssueList
  14. type swaggerResponseIssueList struct {
  15. // in:body
  16. Body []api.Issue `json:"body"`
  17. }
  18. // swagger:response Comment
  19. type swaggerResponseComment struct {
  20. // in:body
  21. Body api.Comment `json:"body"`
  22. }
  23. // swagger:response CommentList
  24. type swaggerResponseCommentList struct {
  25. // in:body
  26. Body []api.Comment `json:"body"`
  27. }
  28. // swagger:response Label
  29. type swaggerResponseLabel struct {
  30. // in:body
  31. Body api.Label `json:"body"`
  32. }
  33. // swagger:response LabelList
  34. type swaggerResponseLabelList struct {
  35. // in:body
  36. Body []api.Label `json:"body"`
  37. }
  38. // swagger:response Milestone
  39. type swaggerResponseMilestone struct {
  40. // in:body
  41. Body api.Milestone `json:"body"`
  42. }
  43. // swagger:response MilestoneList
  44. type swaggerResponseMilestoneList struct {
  45. // in:body
  46. Body []api.Milestone `json:"body"`
  47. }
  48. // swagger:response TrackedTime
  49. type swaggerResponseTrackedTime struct {
  50. // in:body
  51. Body api.TrackedTime `json:"body"`
  52. }
  53. // swagger:response TrackedTimeList
  54. type swaggerResponseTrackedTimeList struct {
  55. // in:body
  56. Body []api.TrackedTime `json:"body"`
  57. }