Browse Source

updated swagger-js

bubble
Tony Tam 11 years ago
parent
commit
348f1e109b
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      dist/lib/swagger.js
  2. +1
    -1
      dist/swagger-ui.min.js
  3. +1
    -1
      lib/swagger.js
  4. +1
    -1
      package.json

+ 1
- 1
dist/lib/swagger.js View File

@@ -301,7 +301,7 @@
headers: {},
on: {
error: function(response) {
return _this.api.fail("Unable to read api '" + _this.name + "' from path " + _this.url + " (server returned " + error.statusText + ")");
return _this.api.fail("Unable to read api '" + _this.name + "' from path " + _this.url + " (server returned " + response.statusText + ")");
},
response: function(rawResponse) {
var response;


+ 1
- 1
dist/swagger-ui.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
lib/swagger.js View File

@@ -301,7 +301,7 @@
headers: {},
on: {
error: function(response) {
return _this.api.fail("Unable to read api '" + _this.name + "' from path " + _this.url + " (server returned " + error.statusText + ")");
return _this.api.fail("Unable to read api '" + _this.name + "' from path " + _this.url + " (server returned " + response.statusText + ")");
},
response: function(rawResponse) {
var response;


+ 1
- 1
package.json View File

@@ -1,6 +1,6 @@
{
"name": "swagger-ui",
"version": "2.0.1",
"version": "2.0.2",
"description": "Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API",
"scripts": {
"build": "PATH=$PATH:./node_modules/.bin cake dist",


Loading…
Cancel
Save