From a29bdd0b328c1759d9d52f3bc92834e5c7c5a463 Mon Sep 17 00:00:00 2001 From: stonezdj Date: Tue, 29 Jun 2021 21:50:39 +0800 Subject: [PATCH] Change XXXConfigItem cannot be omitted when empty Fixes #15206 Includes:StringConfigItem, BoolConfigItem, IntegerConfigItem Signed-off-by: stonezdj --- api/v2.0/swagger.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/v2.0/swagger.yaml b/api/v2.0/swagger.yaml index 6e0482b04..2d31961b5 100644 --- a/api/v2.0/swagger.yaml +++ b/api/v2.0/swagger.yaml @@ -8272,27 +8272,33 @@ definitions: properties: value: type: string + x-omitempty: false description: The string value of current config item editable: type: boolean + x-omitempty: false description: The configure item can be updated or not BoolConfigItem: type: object properties: value: type: boolean + x-omitempty: false description: The boolean value of current config item editable: type: boolean + x-omitempty: false description: The configure item can be updated or not IntegerConfigItem: type: object properties: value: type: integer + x-omitempty: false description: The integer value of current config item editable: type: boolean + x-omitempty: false description: The configure item can be updated or not ProjectMemberEntity: type: object