Skip to content

Commit

Permalink
fix: use items description if not present on top level
Browse files Browse the repository at this point in the history
fixes: #206
  • Loading branch information
RomanHotsiy committed Feb 15, 2017
1 parent b43a87d commit 23e7847
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/services/schema-helper.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const injectors = {
} else {
injectors.object.inject(injectTo, propertySchema.items);
}
if (!injectTo.description) injectTo.description = propertySchema.items.description;
injectTo._widgetType = 'array';
}
},
Expand Down

0 comments on commit 23e7847

Please sign in to comment.