From 2dad883aba9617b1f24cb088ad808b0feb3fc0a8 Mon Sep 17 00:00:00 2001 From: policy-librarians Date: Wed, 25 Oct 2023 20:31:08 +0000 Subject: [PATCH] update true to jsonschema.TrueSchema --- cli/bpmetadata/schema/generate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/bpmetadata/schema/generate.go b/cli/bpmetadata/schema/generate.go index 6d69ea94b4f..1f72bc357cb 100644 --- a/cli/bpmetadata/schema/generate.go +++ b/cli/bpmetadata/schema/generate.go @@ -49,7 +49,7 @@ func GenerateSchema() ([]byte, error) { // true i.e. it's presence is validated regardless of type. vDef, defExists := s.Definitions["BlueprintVariable"] if defExists { - vDef.Properties.Set("defaultValue", true) + vDef.Properties.Set("defaultValue", jsonschema.TrueSchema) } sData, err := json.MarshalIndent(s, "", " ")