Explorar el Código

updated swagger-js

bubble
Tony Tam hace 11 años
padre
commit
348f1e109b
Se han modificado 4 ficheros con 4 adiciones y 4 borrados
  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 Ver fichero

@@ -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
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 1
- 1
lib/swagger.js Ver fichero

@@ -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 Ver fichero

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


Cargando…
Cancelar
Guardar