Skip to content

Commit

Permalink
SHIBUI-2151
Browse files Browse the repository at this point in the history
Changes per ryan to backend schema
  • Loading branch information
chasegawa committed Oct 7, 2021
1 parent a23980f commit 717e52a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@ class JsonSchemaBuilderService {
def definition = [title : it['displayName'],
description: it['helpText'],
type : 'array']
if (it['displayType'] == 'set' || it['displayType'] == 'selection_list') {
definition['uniqueItems'] = true
} else if (it['displayType'] == 'list') {
definition['uniqueItems'] = false
}
definition['uniqueItems'] = false
def items = [type : 'string',
minLength: 1, // TODO: should this be configurable?
maxLength: 255] //TODO: or this?
Expand Down

0 comments on commit 717e52a

Please sign in to comment.