提交 556ef5f8 编写于 作者: E edisonxiang

change project.boolean field

上级 32de234e
......@@ -14349,13 +14349,13 @@ definitions:
description:
type: "string"
private:
type: "string"
type: "boolean"
public:
type: "string"
type: "boolean"
internal:
type: "string"
type: "boolean"
fork:
type: "string"
type: "boolean"
html_url:
type: "string"
ssh_url:
......@@ -14397,7 +14397,7 @@ definitions:
releases_url:
type: "string"
recommend:
type: "string"
type: "boolean"
homepage:
type: "string"
language:
......@@ -14414,17 +14414,17 @@ definitions:
type: "integer"
format: "int32"
has_issues:
type: "string"
type: "boolean"
has_wiki:
type: "string"
type: "boolean"
pull_requests_enabled:
type: "string"
type: "boolean"
has_page:
type: "string"
type: "boolean"
license:
type: "string"
outsourced:
type: "string"
type: "boolean"
project_creator:
type: "string"
members:
......@@ -15219,13 +15219,13 @@ definitions:
description:
type: "string"
private:
type: "string"
type: "boolean"
public:
type: "string"
type: "boolean"
internal:
type: "string"
type: "boolean"
fork:
type: "string"
type: "boolean"
html_url:
type: "string"
ssh_url:
......
......@@ -12,10 +12,10 @@ Name | Type | Description | Notes
**Name** | **string** | | [optional] [default to null]
**Owner** | [***UserBasic**](UserBasic.md) | | [optional] [default to null]
**Description** | **string** | | [optional] [default to null]
**Private** | **string** | | [optional] [default to null]
**Public** | **string** | | [optional] [default to null]
**Internal** | **string** | | [optional] [default to null]
**Fork** | **string** | | [optional] [default to null]
**Private** | **bool** | | [optional] [default to null]
**Public** | **bool** | | [optional] [default to null]
**Internal** | **bool** | | [optional] [default to null]
**Fork** | **bool** | | [optional] [default to null]
**HtmlUrl** | **string** | | [optional] [default to null]
**SshUrl** | **string** | | [optional] [default to null]
**ForksUrl** | **string** | | [optional] [default to null]
......@@ -36,7 +36,7 @@ Name | Type | Description | Notes
**NotificationsUrl** | **string** | | [optional] [default to null]
**LabelsUrl** | **string** | | [optional] [default to null]
**ReleasesUrl** | **string** | | [optional] [default to null]
**Recommend** | **string** | | [optional] [default to null]
**Recommend** | **bool** | | [optional] [default to null]
**Homepage** | **string** | | [optional] [default to null]
**Language** | **string** | | [optional] [default to null]
**ForksCount** | **string** | | [optional] [default to null]
......@@ -44,12 +44,12 @@ Name | Type | Description | Notes
**WatchersCount** | **string** | | [optional] [default to null]
**DefaultBranch** | **string** | | [optional] [default to null]
**OpenIssuesCount** | **int32** | | [optional] [default to null]
**HasIssues** | **string** | | [optional] [default to null]
**HasWiki** | **string** | | [optional] [default to null]
**PullRequestsEnabled** | **string** | | [optional] [default to null]
**HasPage** | **string** | | [optional] [default to null]
**HasIssues** | **bool** | | [optional] [default to null]
**HasWiki** | **bool** | | [optional] [default to null]
**PullRequestsEnabled** | **bool** | | [optional] [default to null]
**HasPage** | **bool** | | [optional] [default to null]
**License** | **string** | | [optional] [default to null]
**Outsourced** | **string** | | [optional] [default to null]
**Outsourced** | **bool** | | [optional] [default to null]
**ProjectCreator** | **string** | | [optional] [default to null]
**Members** | **string** | | [optional] [default to null]
**PushedAt** | **string** | | [optional] [default to null]
......
......@@ -12,10 +12,10 @@ Name | Type | Description | Notes
**Name** | **string** | | [optional] [default to null]
**Owner** | [***UserBasic**](UserBasic.md) | | [optional] [default to null]
**Description** | **string** | | [optional] [default to null]
**Private** | **string** | | [optional] [default to null]
**Public** | **string** | | [optional] [default to null]
**Internal** | **string** | | [optional] [default to null]
**Fork** | **string** | | [optional] [default to null]
**Private** | **bool** | | [optional] [default to null]
**Public** | **bool** | | [optional] [default to null]
**Internal** | **bool** | | [optional] [default to null]
**Fork** | **bool** | | [optional] [default to null]
**HtmlUrl** | **string** | | [optional] [default to null]
**SshUrl** | **string** | | [optional] [default to null]
......
......@@ -20,10 +20,10 @@ type Project struct {
Name string `json:"name,omitempty"`
Owner *UserBasic `json:"owner,omitempty"`
Description string `json:"description,omitempty"`
Private string `json:"private,omitempty"`
Public string `json:"public,omitempty"`
Internal string `json:"internal,omitempty"`
Fork string `json:"fork,omitempty"`
Private bool `json:"private,omitempty"`
Public bool `json:"public,omitempty"`
Internal bool `json:"internal,omitempty"`
Fork bool `json:"fork,omitempty"`
HtmlUrl string `json:"html_url,omitempty"`
SshUrl string `json:"ssh_url,omitempty"`
ForksUrl string `json:"forks_url,omitempty"`
......@@ -44,7 +44,7 @@ type Project struct {
NotificationsUrl string `json:"notifications_url,omitempty"`
LabelsUrl string `json:"labels_url,omitempty"`
ReleasesUrl string `json:"releases_url,omitempty"`
Recommend string `json:"recommend,omitempty"`
Recommend bool `json:"recommend,omitempty"`
Homepage string `json:"homepage,omitempty"`
Language string `json:"language,omitempty"`
ForksCount string `json:"forks_count,omitempty"`
......@@ -52,12 +52,12 @@ type Project struct {
WatchersCount string `json:"watchers_count,omitempty"`
DefaultBranch string `json:"default_branch,omitempty"`
OpenIssuesCount int32 `json:"open_issues_count,omitempty"`
HasIssues string `json:"has_issues,omitempty"`
HasWiki string `json:"has_wiki,omitempty"`
PullRequestsEnabled string `json:"pull_requests_enabled,omitempty"`
HasPage string `json:"has_page,omitempty"`
HasIssues bool `json:"has_issues,omitempty"`
HasWiki bool `json:"has_wiki,omitempty"`
PullRequestsEnabled bool `json:"pull_requests_enabled,omitempty"`
HasPage bool `json:"has_page,omitempty"`
License string `json:"license,omitempty"`
Outsourced string `json:"outsourced,omitempty"`
Outsourced bool `json:"outsourced,omitempty"`
ProjectCreator string `json:"project_creator,omitempty"`
Members string `json:"members,omitempty"`
PushedAt string `json:"pushed_at,omitempty"`
......
......@@ -19,10 +19,10 @@ type ProjectBasic struct {
Name string `json:"name,omitempty"`
Owner *UserBasic `json:"owner,omitempty"`
Description string `json:"description,omitempty"`
Private string `json:"private,omitempty"`
Public string `json:"public,omitempty"`
Internal string `json:"internal,omitempty"`
Fork string `json:"fork,omitempty"`
Private bool `json:"private,omitempty"`
Public bool `json:"public,omitempty"`
Internal bool `json:"internal,omitempty"`
Fork bool `json:"fork,omitempty"`
HtmlUrl string `json:"html_url,omitempty"`
SshUrl string `json:"ssh_url,omitempty"`
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册