From 657f5e21196476091543da0d6b12a0caaf6b357e Mon Sep 17 00:00:00 2001 From: Jake Ayala Date: Tue, 28 Oct 2014 19:21:47 -0700 Subject: [PATCH] added reference to settings for additional properties --- lib/model-helper.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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