|
|
@ -50,6 +50,7 @@ type Issue struct { |
|
|
|
Ref string `json:"ref"` |
|
|
|
Ref string `json:"ref"` |
|
|
|
Labels []*Label `json:"labels"` |
|
|
|
Labels []*Label `json:"labels"` |
|
|
|
Milestone *Milestone `json:"milestone"` |
|
|
|
Milestone *Milestone `json:"milestone"` |
|
|
|
|
|
|
|
// deprecated
|
|
|
|
Assignee *User `json:"assignee"` |
|
|
|
Assignee *User `json:"assignee"` |
|
|
|
Assignees []*User `json:"assignees"` |
|
|
|
Assignees []*User `json:"assignees"` |
|
|
|
// Whether the issue is open or closed
|
|
|
|
// Whether the issue is open or closed
|
|
|
@ -83,7 +84,8 @@ type CreateIssueOption struct { |
|
|
|
// required:true
|
|
|
|
// required:true
|
|
|
|
Title string `json:"title" binding:"Required"` |
|
|
|
Title string `json:"title" binding:"Required"` |
|
|
|
Body string `json:"body"` |
|
|
|
Body string `json:"body"` |
|
|
|
// username of assignee
|
|
|
|
Ref string `json:"ref"` |
|
|
|
|
|
|
|
// deprecated
|
|
|
|
Assignee string `json:"assignee"` |
|
|
|
Assignee string `json:"assignee"` |
|
|
|
Assignees []string `json:"assignees"` |
|
|
|
Assignees []string `json:"assignees"` |
|
|
|
// swagger:strfmt date-time
|
|
|
|
// swagger:strfmt date-time
|
|
|
@ -99,6 +101,8 @@ type CreateIssueOption struct { |
|
|
|
type EditIssueOption struct { |
|
|
|
type EditIssueOption struct { |
|
|
|
Title string `json:"title"` |
|
|
|
Title string `json:"title"` |
|
|
|
Body *string `json:"body"` |
|
|
|
Body *string `json:"body"` |
|
|
|
|
|
|
|
Ref *string `json:"ref"` |
|
|
|
|
|
|
|
// deprecated
|
|
|
|
Assignee *string `json:"assignee"` |
|
|
|
Assignee *string `json:"assignee"` |
|
|
|
Assignees []string `json:"assignees"` |
|
|
|
Assignees []string `json:"assignees"` |
|
|
|
Milestone *int64 `json:"milestone"` |
|
|
|
Milestone *int64 `json:"milestone"` |
|
|
|