Skip to content

Commit

Permalink
SHIBUI-1967
Browse files Browse the repository at this point in the history
Fix for boolean default values
  • Loading branch information
chasegawa committed Jun 18, 2021
1 parent f11db6a commit 263ca11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class JsonSchemaBuilderService {
[title : it['displayName'],
description : it['helpText'],
type : it['displayType'],
default : it['defaultValue'],
default : it['displayType'] == 'boolean' ? Boolean.getBoolean(it['defaultValue']) : it['defaultValue'],
examples : it['examples']]
}
properties[(String) it['name']] = property
Expand Down

0 comments on commit 263ca11

Please sign in to comment.