提交 7dc6d865 编写于 作者: E edisonxiang

change type in issue

上级 7801d14e
......@@ -13973,7 +13973,7 @@ definitions:
body_html:
type: "string"
user:
type: "string"
$ref: "#/definitions/UserBasic"
labels:
type: "array"
items:
......@@ -13981,7 +13981,9 @@ definitions:
assignee:
$ref: "#/definitions/UserBasic"
collaborators:
$ref: "#/definitions/UserBasic"
type: "array"
items:
$ref: "#/definitions/UserBasic"
repository:
type: "string"
milestone:
......
......@@ -15,10 +15,10 @@ Name | Type | Description | Notes
**Title** | **string** | | [optional] [default to null]
**Body** | **string** | | [optional] [default to null]
**BodyHtml** | **string** | | [optional] [default to null]
**User** | **string** | | [optional] [default to null]
**User** | [***UserBasic**](UserBasic.md) | | [optional] [default to null]
**Labels** | [**[]Label**](Label.md) | | [optional] [default to null]
**Assignee** | [***UserBasic**](UserBasic.md) | | [optional] [default to null]
**Collaborators** | [***UserBasic**](UserBasic.md) | | [optional] [default to null]
**Collaborators** | [**[]UserBasic**](UserBasic.md) | | [optional] [default to null]
**Repository** | **string** | | [optional] [default to null]
**Milestone** | [***Milestone**](Milestone.md) | | [optional] [default to null]
**CreatedAt** | [**time.Time**](time.Time.md) | | [optional] [default to null]
......
......@@ -27,10 +27,10 @@ type Issue struct {
Title string `json:"title,omitempty"`
Body string `json:"body,omitempty"`
BodyHtml string `json:"body_html,omitempty"`
User string `json:"user,omitempty"`
User *UserBasic `json:"user,omitempty"`
Labels []Label `json:"labels,omitempty"`
Assignee *UserBasic `json:"assignee,omitempty"`
Collaborators *UserBasic `json:"collaborators,omitempty"`
Collaborators []UserBasic `json:"collaborators,omitempty"`
Repository string `json:"repository,omitempty"`
Milestone *Milestone `json:"milestone,omitempty"`
CreatedAt time.Time `json:"created_at,omitempty"`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册