diff --git a/dist/lib/swagger.js b/dist/lib/swagger.js index 18fdc7fa303..20ac602f222 100644 --- a/dist/lib/swagger.js +++ b/dist/lib/swagger.js @@ -362,6 +362,12 @@ function SwaggerModel(modelName, obj) { var propertyName; + if (obj.required){ + for (var i=0;i