diff --git a/dist/lib/swagger.js b/dist/lib/swagger.js index 7459f97f..9e73a9b3 100644 --- a/dist/lib/swagger.js +++ b/dist/lib/swagger.js @@ -99,7 +99,6 @@ var SwaggerApi = function(url, options) { this.info = null; this.useJQuery = false; this.modelsArray = []; - this.isValid; options = (options||{}); if (url) @@ -214,7 +213,6 @@ SwaggerApi.prototype.buildFromSpec = function(response) { this.apisArray.push(res); } } - this.isValid = true; if (this.success) { this.success(); } @@ -262,7 +260,6 @@ SwaggerApi.prototype.buildFrom1_1Spec = function(response) { this.apisArray.push(res); } } - this.isValid = true; if (this.success) { this.success(); } diff --git a/lib/swagger.js b/lib/swagger.js index 7459f97f..9e73a9b3 100644 --- a/lib/swagger.js +++ b/lib/swagger.js @@ -99,7 +99,6 @@ var SwaggerApi = function(url, options) { this.info = null; this.useJQuery = false; this.modelsArray = []; - this.isValid; options = (options||{}); if (url) @@ -214,7 +213,6 @@ SwaggerApi.prototype.buildFromSpec = function(response) { this.apisArray.push(res); } } - this.isValid = true; if (this.success) { this.success(); } @@ -262,7 +260,6 @@ SwaggerApi.prototype.buildFrom1_1Spec = function(response) { this.apisArray.push(res); } } - this.isValid = true; if (this.success) { this.success(); }