diff --git a/lib/model-helper.js b/lib/model-helper.js index 2b85101..945eeb5 100644 --- a/lib/model-helper.js +++ b/lib/model-helper.js @@ -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