Skip to content

Commit

Permalink
Merge branch 'SHIBUI-906' into feature/SHIBUI-701
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Smith committed Nov 8, 2018
2 parents 9061801 + 6f44a57 commit 22033ed
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@ class JsonSchemaBuilderService {
property =
[title : it['displayName'],
description: it['helpText'],
type : it['displayType'],
default : it['defaultValue']]
type : it['displayType']]
if (it['displayType'] == 'boolean') {
property['defaultValue'] = (Boolean)(it['defaultValue'])
} else {
property['defaultValue'] = it['defaultValue']
}
}
properties[(String) it['name']] = property
}
Expand Down

0 comments on commit 22033ed

Please sign in to comment.