提交 c5866a72 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!5 spec: Fix incorrect type definition for namespace/members properties of model Project

Merge pull request !5 from imjoey/fix_project_definition
...@@ -13824,7 +13824,7 @@ definitions: ...@@ -13824,7 +13824,7 @@ definitions:
url: url:
type: "string" type: "string"
namespace: namespace:
type: "string" $ref: "#/definitions/Namespace"
path: path:
type: "string" type: "string"
name: name:
...@@ -13916,7 +13916,9 @@ definitions: ...@@ -13916,7 +13916,9 @@ definitions:
project_creator: project_creator:
type: "string" type: "string"
members: members:
type: "string" type: "array"
items:
type: "string"
pushed_at: pushed_at:
type: "string" type: "string"
created_at: created_at:
......
...@@ -7,7 +7,7 @@ Name | Type | Description | Notes ...@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**FullName** | **string** | | [optional] [default to null] **FullName** | **string** | | [optional] [default to null]
**HumanName** | **string** | | [optional] [default to null] **HumanName** | **string** | | [optional] [default to null]
**Url** | **string** | | [optional] [default to null] **Url** | **string** | | [optional] [default to null]
**Namespace** | **string** | | [optional] [default to null] **Namespace** | [***Namespace**](Namespace.md) | | [optional] [default to null]
**Path** | **string** | | [optional] [default to null] **Path** | **string** | | [optional] [default to null]
**Name** | **string** | | [optional] [default to null] **Name** | **string** | | [optional] [default to null]
**Owner** | [***UserBasic**](UserBasic.md) | | [optional] [default to null] **Owner** | [***UserBasic**](UserBasic.md) | | [optional] [default to null]
...@@ -51,7 +51,7 @@ Name | Type | Description | Notes ...@@ -51,7 +51,7 @@ Name | Type | Description | Notes
**License** | **string** | | [optional] [default to null] **License** | **string** | | [optional] [default to null]
**Outsourced** | **bool** | | [optional] [default to null] **Outsourced** | **bool** | | [optional] [default to null]
**ProjectCreator** | **string** | | [optional] [default to null] **ProjectCreator** | **string** | | [optional] [default to null]
**Members** | **string** | | [optional] [default to null] **Members** | **[]string** | | [optional] [default to null]
**PushedAt** | **string** | | [optional] [default to null] **PushedAt** | **string** | | [optional] [default to null]
**CreatedAt** | **string** | | [optional] [default to null] **CreatedAt** | **string** | | [optional] [default to null]
**UpdatedAt** | **string** | | [optional] [default to null] **UpdatedAt** | **string** | | [optional] [default to null]
......
...@@ -15,7 +15,7 @@ type Project struct { ...@@ -15,7 +15,7 @@ type Project struct {
FullName string `json:"full_name,omitempty"` FullName string `json:"full_name,omitempty"`
HumanName string `json:"human_name,omitempty"` HumanName string `json:"human_name,omitempty"`
Url string `json:"url,omitempty"` Url string `json:"url,omitempty"`
Namespace string `json:"namespace,omitempty"` Namespace *Namespace `json:"namespace,omitempty"`
Path string `json:"path,omitempty"` Path string `json:"path,omitempty"`
Name string `json:"name,omitempty"` Name string `json:"name,omitempty"`
Owner *UserBasic `json:"owner,omitempty"` Owner *UserBasic `json:"owner,omitempty"`
...@@ -59,7 +59,7 @@ type Project struct { ...@@ -59,7 +59,7 @@ type Project struct {
License string `json:"license,omitempty"` License string `json:"license,omitempty"`
Outsourced bool `json:"outsourced,omitempty"` Outsourced bool `json:"outsourced,omitempty"`
ProjectCreator string `json:"project_creator,omitempty"` ProjectCreator string `json:"project_creator,omitempty"`
Members string `json:"members,omitempty"` Members []string `json:"members,omitempty"`
PushedAt string `json:"pushed_at,omitempty"` PushedAt string `json:"pushed_at,omitempty"`
CreatedAt string `json:"created_at,omitempty"` CreatedAt string `json:"created_at,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"` UpdatedAt string `json:"updated_at,omitempty"`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册