Skip to content

Commit

Permalink
update true to jsonschema.TrueSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
apeabody committed Oct 25, 2023
1 parent 2116298 commit 2dad883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/bpmetadata/schema/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, "", " ")
Expand Down

0 comments on commit 2dad883

Please sign in to comment.