Skip to content

Commit

Permalink
SHIBUI-2257
Browse files Browse the repository at this point in the history
Adding display names to the enumNames
  • Loading branch information
chasegawa committed Jan 4, 2022
1 parent 289f8f1 commit 51706a8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ class JsonSchemaBuilderService {
result.addAll(customPropertiesConfiguration.getAttributes().collect {
it['name']
})
resultNames.addAll(customPropertiesConfiguration.getAttributes().collect {
it['name']
})

json['enum'] = result
json['enumNames'] = resultNames
Expand Down

0 comments on commit 51706a8

Please sign in to comment.