提交 86c20d84 编写于 作者: E edisonxiang

change Note.user type

上级 cf6038e5
......@@ -14309,7 +14309,7 @@ definitions:
body_html:
type: "string"
user:
type: "string"
$ref: "#/definitions/User"
source:
type: "string"
created_at:
......
......@@ -6,7 +6,7 @@ Name | Type | Description | Notes
**Id** | **int32** | | [optional] [default to null]
**Body** | **string** | | [optional] [default to null]
**BodyHtml** | **string** | | [optional] [default to null]
**User** | **string** | | [optional] [default to null]
**User** | [***User**](User.md) | | [optional] [default to null]
**Source** | **string** | | [optional] [default to null]
**CreatedAt** | **string** | | [optional] [default to null]
**Target** | **string** | | [optional] [default to null]
......
......@@ -14,7 +14,7 @@ type Note struct {
Id int32 `json:"id,omitempty"`
Body string `json:"body,omitempty"`
BodyHtml string `json:"body_html,omitempty"`
User string `json:"user,omitempty"`
User *User `json:"user,omitempty"`
Source string `json:"source,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
Target string `json:"target,omitempty"`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册