fix: disable x-omitempty for repo_count and chart_count (#14895)

Closes #13664

Signed-off-by: He Weiwei <hweiwei@vmware.com>
This commit is contained in:
He Weiwei 2021-05-17 10:22:51 +08:00 committed by GitHub
parent ba68f16b8d
commit 73045c55ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -6202,9 +6202,11 @@ definitions:
repo_count:
type: integer
description: The number of the repositories under this project.
x-omitempty: false
chart_count:
type: integer
description: The total number of charts under this project.
x-omitempty: false
metadata:
description: The metadata of the project.
$ref: '#/definitions/ProjectMetadata'
@ -6257,9 +6259,11 @@ definitions:
repo_count:
type: integer
description: The number of the repositories under this project.
x-omitempty: false
chart_count:
type: integer
description: The total number of charts under this project.
x-omitempty: false
project_admin_count:
type: integer
description: The total number of project admin members.