From c35cf951e246324d2ed1b3864e8d5a9a1ae9661f Mon Sep 17 00:00:00 2001 From: Pierre Gerbelot Date: Tue, 14 Nov 2023 18:20:02 +0100 Subject: [PATCH 1/2] fix: add value and key in Variable response --- src/schemas/variable/VariableResponse.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/schemas/variable/VariableResponse.yaml b/src/schemas/variable/VariableResponse.yaml index 22634e93..83a73d7c 100644 --- a/src/schemas/variable/VariableResponse.yaml +++ b/src/schemas/variable/VariableResponse.yaml @@ -3,7 +3,12 @@ allOf: - type: object required: - scope + - key properties: + key: + type: string + value: + type: string overridden_variable: $ref: './VariableOverride.yaml' aliased_variable: From 980b05f27b5ee5473775a861e375e8f448577279 Mon Sep 17 00:00:00 2001 From: Pierre Gerbelot Date: Tue, 14 Nov 2023 18:26:07 +0100 Subject: [PATCH 2/2] set value as required and nullable --- src/schemas/variable/VariableResponse.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/schemas/variable/VariableResponse.yaml b/src/schemas/variable/VariableResponse.yaml index 83a73d7c..77cf4769 100644 --- a/src/schemas/variable/VariableResponse.yaml +++ b/src/schemas/variable/VariableResponse.yaml @@ -4,11 +4,13 @@ allOf: required: - scope - key + - value properties: key: type: string value: type: string + nullable: true overridden_variable: $ref: './VariableOverride.yaml' aliased_variable: