Set "x-omitempty" as "false" for the pull count and artifact count of repository

Set "x-omitempty" as "false" for the pull count and artifact count of repository to avoid the missing of these properties in API response

Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
Wenkai Yin 2021-06-09 11:17:23 +08:00
parent 8a9801a9d4
commit 5d13b603c4

View File

@ -5656,10 +5656,12 @@ definitions:
type: integer
format: int64
description: The count of the artifacts inside the repository
x-omitempty: false
pull_count:
type: integer
format: int64
description: The count that the artifact inside the repository pulled
x-omitempty: false
creation_time:
type: string
format: date-time