diff --git a/api/swagger.yaml b/api/swagger.yaml index ed935d9f57885b30150c1ec20384769a97809f15..a8643e1d11bedd195a36f32cf34b6ef107b6fd17 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -13824,7 +13824,7 @@ definitions: url: type: "string" namespace: - type: "string" + $ref: "#/definitions/Namespace" path: type: "string" name: @@ -13916,7 +13916,9 @@ definitions: project_creator: type: "string" members: - type: "string" + type: "array" + items: + type: "string" pushed_at: type: "string" created_at: diff --git a/docs/Project.md b/docs/Project.md index 8903dc9d060adf2907dae5dae3cf95ab8f77b8df..9c95146dad8d8b45b6a905e2383816745a855979 100644 --- a/docs/Project.md +++ b/docs/Project.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **FullName** | **string** | | [optional] [default to null] **HumanName** | **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] **Name** | **string** | | [optional] [default to null] **Owner** | [***UserBasic**](UserBasic.md) | | [optional] [default to null] @@ -51,7 +51,7 @@ Name | Type | Description | Notes **License** | **string** | | [optional] [default to null] **Outsourced** | **bool** | | [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] **CreatedAt** | **string** | | [optional] [default to null] **UpdatedAt** | **string** | | [optional] [default to null] diff --git a/gitee/model_project.go b/gitee/model_project.go index 03bccfbbbcb5e550ef3b557b5c0f477b5a8918cd..fed03f379d8de195afa38bccc717151cad5ab78a 100644 --- a/gitee/model_project.go +++ b/gitee/model_project.go @@ -15,7 +15,7 @@ type Project struct { FullName string `json:"full_name,omitempty"` HumanName string `json:"human_name,omitempty"` Url string `json:"url,omitempty"` - Namespace string `json:"namespace,omitempty"` + Namespace *Namespace `json:"namespace,omitempty"` Path string `json:"path,omitempty"` Name string `json:"name,omitempty"` Owner *UserBasic `json:"owner,omitempty"` @@ -59,7 +59,7 @@ type Project struct { License string `json:"license,omitempty"` Outsourced bool `json:"outsourced,omitempty"` ProjectCreator string `json:"project_creator,omitempty"` - Members string `json:"members,omitempty"` + Members []string `json:"members,omitempty"` PushedAt string `json:"pushed_at,omitempty"` CreatedAt string `json:"created_at,omitempty"` UpdatedAt string `json:"updated_at,omitempty"`