swagger-client
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -327,3 +327,3 @@ // Generated by CoffeeScript 1.4.0 | ||
SwaggerModel.prototype.getMockSignature = function(prefix, modelToIgnore) { | ||
SwaggerModel.prototype.getMockSignature = function(prefix, modelsToIgnore) { | ||
var classClose, classOpen, prop, propertiesStr, returnVal, strong, strongClose, stronger, _i, _j, _len, _len1, _ref, _ref1; | ||
@@ -345,7 +345,11 @@ propertiesStr = []; | ||
} | ||
if (!modelsToIgnore) { | ||
modelsToIgnore = []; | ||
} | ||
modelsToIgnore.push(this); | ||
_ref1 = this.properties; | ||
for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) { | ||
prop = _ref1[_j]; | ||
if ((prop.refModel != null) && (!(prop.refModel === modelToIgnore))) { | ||
returnVal = returnVal + ('<br>' + prop.refModel.getMockSignature(void 0, this)); | ||
if ((prop.refModel != null) && (modelsToIgnore.indexOf(prop.refModel)) === -1) { | ||
returnVal = returnVal + ('<br>' + prop.refModel.getMockSignature(void 0, modelsToIgnore)); | ||
} | ||
@@ -352,0 +356,0 @@ } |
@@ -11,3 +11,3 @@ { | ||
"description": "swagger.js is a javascript client for use with swaggering APIs.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "http://swagger.wordnik.com", | ||
@@ -14,0 +14,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
159389
3550