From 5d13b603c42317acff08d5d588749386805418ba Mon Sep 17 00:00:00 2001 From: Wenkai Yin Date: Wed, 9 Jun 2021 11:17:23 +0800 Subject: [PATCH] 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 --- api/v2.0/swagger.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/v2.0/swagger.yaml b/api/v2.0/swagger.yaml index c97da9ee4..6e0482b04 100644 --- a/api/v2.0/swagger.yaml +++ b/api/v2.0/swagger.yaml @@ -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