Merge pull request #2 from shelbys/additional_properties_patch

added reference to settings for additional properties
This commit is contained in:
Shelby Sanders 2014-10-28 19:40:00 -07:00
commit ed22de9daf
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,8 @@ var modelHelper = module.exports = {
out[name] = {
id: name,
properties: properties,
required: required
required: required,
additionalProperties: def.settings.additionalProperties
};
// Generate model definitions for related models