From 33ca826573c83f510083713f7e6bef710a96d68b Mon Sep 17 00:00:00 2001 From: Shelby Sanders Date: Tue, 7 Jul 2015 01:29:33 -0700 Subject: [PATCH] Added Swagger fields for items and max/min(Items|Length) --- lib/model-helper.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/model-helper.js b/lib/model-helper.js index 1a23f23..7ac4688 100644 --- a/lib/model-helper.js +++ b/lib/model-helper.js @@ -232,8 +232,13 @@ var modelHelper = module.exports = { 'format', 'defaultValue', 'enum', + 'items', 'minimum', + 'minItems', + 'minLength', 'maximum', + 'maxItems', + 'maxLength', 'uniqueItems', // loopback-explorer extensions 'length',