2017-11-13 12:32:25 +05:30
|
|
|
// Copyright 2017 The Gitea Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package swagger
|
|
|
|
|
|
|
|
import (
|
|
|
|
api "code.gitea.io/sdk/gitea"
|
|
|
|
)
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// Issue
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response Issue
|
|
|
|
type swaggerResponseIssue struct {
|
|
|
|
// in:body
|
|
|
|
Body api.Issue `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// IssueList
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response IssueList
|
|
|
|
type swaggerResponseIssueList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.Issue `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// Comment
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response Comment
|
|
|
|
type swaggerResponseComment struct {
|
|
|
|
// in:body
|
|
|
|
Body api.Comment `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// CommentList
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response CommentList
|
|
|
|
type swaggerResponseCommentList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.Comment `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// Label
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response Label
|
|
|
|
type swaggerResponseLabel struct {
|
|
|
|
// in:body
|
|
|
|
Body api.Label `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// LabelList
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response LabelList
|
|
|
|
type swaggerResponseLabelList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.Label `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// Milestone
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response Milestone
|
|
|
|
type swaggerResponseMilestone struct {
|
|
|
|
// in:body
|
|
|
|
Body api.Milestone `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// MilestoneList
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response MilestoneList
|
|
|
|
type swaggerResponseMilestoneList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.Milestone `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// TrackedTime
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response TrackedTime
|
|
|
|
type swaggerResponseTrackedTime struct {
|
|
|
|
// in:body
|
|
|
|
Body api.TrackedTime `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// TrackedTimeList
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response TrackedTimeList
|
|
|
|
type swaggerResponseTrackedTimeList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.TrackedTime `json:"body"`
|
|
|
|
}
|
2018-07-16 18:13:00 +05:30
|
|
|
|
|
|
|
// IssueDeadline
|
|
|
|
// swagger:response IssueDeadline
|
|
|
|
type swaggerIssueDeadline struct {
|
|
|
|
// in:body
|
|
|
|
Body api.IssueDeadline `json:"body"`
|
|
|
|
}
|