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

issue.go 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. // Issue
  9. // swagger:response Issue
  10. type swaggerResponseIssue struct {
  11. // in:body
  12. Body api.Issue `json:"body"`
  13. }
  14. // IssueList
  15. // swagger:response IssueList
  16. type swaggerResponseIssueList struct {
  17. // in:body
  18. Body []api.Issue `json:"body"`
  19. }
  20. // Comment
  21. // swagger:response Comment
  22. type swaggerResponseComment struct {
  23. // in:body
  24. Body api.Comment `json:"body"`
  25. }
  26. // CommentList
  27. // swagger:response CommentList
  28. type swaggerResponseCommentList struct {
  29. // in:body
  30. Body []api.Comment `json:"body"`
  31. }
  32. // Label
  33. // swagger:response Label
  34. type swaggerResponseLabel struct {
  35. // in:body
  36. Body api.Label `json:"body"`
  37. }
  38. // LabelList
  39. // swagger:response LabelList
  40. type swaggerResponseLabelList struct {
  41. // in:body
  42. Body []api.Label `json:"body"`
  43. }
  44. // Milestone
  45. // swagger:response Milestone
  46. type swaggerResponseMilestone struct {
  47. // in:body
  48. Body api.Milestone `json:"body"`
  49. }
  50. // MilestoneList
  51. // swagger:response MilestoneList
  52. type swaggerResponseMilestoneList struct {
  53. // in:body
  54. Body []api.Milestone `json:"body"`
  55. }
  56. // TrackedTime
  57. // swagger:response TrackedTime
  58. type swaggerResponseTrackedTime struct {
  59. // in:body
  60. Body api.TrackedTime `json:"body"`
  61. }
  62. // TrackedTimeList
  63. // swagger:response TrackedTimeList
  64. type swaggerResponseTrackedTimeList struct {
  65. // in:body
  66. Body []api.TrackedTime `json:"body"`
  67. }
  68. // IssueDeadline
  69. // swagger:response IssueDeadline
  70. type swaggerIssueDeadline struct {
  71. // in:body
  72. Body api.IssueDeadline `json:"body"`
  73. }