mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-27 02:58:05 +01:00
Change XXXConfigItem cannot be omitted when empty
Fixes #15206 Includes:StringConfigItem, BoolConfigItem, IntegerConfigItem Signed-off-by: stonezdj <stonezdj@gmail.com>
This commit is contained in:
parent
b789674ada
commit
a29bdd0b32
@ -8272,27 +8272,33 @@ definitions:
|
|||||||
properties:
|
properties:
|
||||||
value:
|
value:
|
||||||
type: string
|
type: string
|
||||||
|
x-omitempty: false
|
||||||
description: The string value of current config item
|
description: The string value of current config item
|
||||||
editable:
|
editable:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
x-omitempty: false
|
||||||
description: The configure item can be updated or not
|
description: The configure item can be updated or not
|
||||||
BoolConfigItem:
|
BoolConfigItem:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
value:
|
value:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
x-omitempty: false
|
||||||
description: The boolean value of current config item
|
description: The boolean value of current config item
|
||||||
editable:
|
editable:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
x-omitempty: false
|
||||||
description: The configure item can be updated or not
|
description: The configure item can be updated or not
|
||||||
IntegerConfigItem:
|
IntegerConfigItem:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
value:
|
value:
|
||||||
type: integer
|
type: integer
|
||||||
|
x-omitempty: false
|
||||||
description: The integer value of current config item
|
description: The integer value of current config item
|
||||||
editable:
|
editable:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
x-omitempty: false
|
||||||
description: The configure item can be updated or not
|
description: The configure item can be updated or not
|
||||||
ProjectMemberEntity:
|
ProjectMemberEntity:
|
||||||
type: object
|
type: object
|
||||||
|
Loading…
Reference in New Issue
Block a user