提交 008abf9d 编写于 作者: E edisonxiang

change node.siteadmin type

上级 86c20d84
......@@ -14191,7 +14191,7 @@ definitions:
type:
type: "string"
site_admin:
type: "string"
type: "boolean"
description: "列出一个组织的所有成员"
example:
gists_url: "gists_url"
......@@ -15342,7 +15342,7 @@ definitions:
type:
type: "string"
site_admin:
type: "string"
type: "boolean"
blog:
type: "string"
weibo:
......
......@@ -19,7 +19,7 @@ Name | Type | Description | Notes
**EventsUrl** | **string** | | [optional] [default to null]
**ReceivedEventsUrl** | **string** | | [optional] [default to null]
**Type_** | **string** | | [optional] [default to null]
**SiteAdmin** | **string** | | [optional] [default to null]
**SiteAdmin** | **bool** | | [optional] [default to null]
**Blog** | **string** | | [optional] [default to null]
**Weibo** | **string** | | [optional] [default to null]
**Bio** | **string** | | [optional] [default to null]
......
......@@ -19,7 +19,7 @@ Name | Type | Description | Notes
**EventsUrl** | **string** | | [optional] [default to null]
**ReceivedEventsUrl** | **string** | | [optional] [default to null]
**Type_** | **string** | | [optional] [default to null]
**SiteAdmin** | **string** | | [optional] [default to null]
**SiteAdmin** | **bool** | | [optional] [default to null]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
......
......@@ -27,7 +27,7 @@ type User struct {
EventsUrl string `json:"events_url,omitempty"`
ReceivedEventsUrl string `json:"received_events_url,omitempty"`
Type_ string `json:"type,omitempty"`
SiteAdmin string `json:"site_admin,omitempty"`
SiteAdmin bool `json:"site_admin,omitempty"`
Blog string `json:"blog,omitempty"`
Weibo string `json:"weibo,omitempty"`
Bio string `json:"bio,omitempty"`
......
......@@ -27,5 +27,5 @@ type UserBasic struct {
EventsUrl string `json:"events_url,omitempty"`
ReceivedEventsUrl string `json:"received_events_url,omitempty"`
Type_ string `json:"type,omitempty"`
SiteAdmin string `json:"site_admin,omitempty"`
SiteAdmin bool `json:"site_admin,omitempty"`
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册