ソースを参照

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


読み込み中…
キャンセル
保存