Преглед на файлове

updated swagger-js

bubble
Tony Tam преди 11 години
родител
ревизия
348f1e109b
променени са 4 файла, в които са добавени 4 реда и са изтрити 4 реда
  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 Целия файл

@@ -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
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 1
- 1
lib/swagger.js Целия файл

@@ -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 Целия файл

@@ -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",


Зареждане…
Отказ
Запис