提交 74cb8fc9 编写于 作者: E edisonxiang

change project.int32 field

上级 556ef5f8
......@@ -14403,11 +14403,14 @@ definitions:
language:
type: "string"
forks_count:
type: "string"
type: "integer"
format: "int32"
stargazers_count:
type: "string"
type: "integer"
format: "int32"
watchers_count:
type: "string"
type: "integer"
format: "int32"
default_branch:
type: "string"
open_issues_count:
......
......@@ -39,9 +39,9 @@ Name | Type | Description | Notes
**Recommend** | **bool** | | [optional] [default to null]
**Homepage** | **string** | | [optional] [default to null]
**Language** | **string** | | [optional] [default to null]
**ForksCount** | **string** | | [optional] [default to null]
**StargazersCount** | **string** | | [optional] [default to null]
**WatchersCount** | **string** | | [optional] [default to null]
**ForksCount** | **int32** | | [optional] [default to null]
**StargazersCount** | **int32** | | [optional] [default to null]
**WatchersCount** | **int32** | | [optional] [default to null]
**DefaultBranch** | **string** | | [optional] [default to null]
**OpenIssuesCount** | **int32** | | [optional] [default to null]
**HasIssues** | **bool** | | [optional] [default to null]
......
......@@ -47,9 +47,9 @@ type Project struct {
Recommend bool `json:"recommend,omitempty"`
Homepage string `json:"homepage,omitempty"`
Language string `json:"language,omitempty"`
ForksCount string `json:"forks_count,omitempty"`
StargazersCount string `json:"stargazers_count,omitempty"`
WatchersCount string `json:"watchers_count,omitempty"`
ForksCount int32 `json:"forks_count,omitempty"`
StargazersCount int32 `json:"stargazers_count,omitempty"`
WatchersCount int32 `json:"watchers_count,omitempty"`
DefaultBranch string `json:"default_branch,omitempty"`
OpenIssuesCount int32 `json:"open_issues_count,omitempty"`
HasIssues bool `json:"has_issues,omitempty"`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册