[auth] fix Set petstore spec as default

This commit is contained in:
bodnia
2016-03-07 21:14:56 +02:00
committed by Anna Bodnia
parent 7dac0e9a91
commit e405c42465
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
if (url && url.length > 1) {
url = decodeURIComponent(url[1]);
} else {
url = "http://localhost:3001/swagger.json";
url = "http://petstore.swagger.io/v2/swagger.json";
}
hljs.configure({
+3 -3
View File
@@ -25084,7 +25084,7 @@ SwaggerUi.Views.ApiKeyButton = Backbone.View.extend({ // TODO: append this to gl
clickLogout: function () {
window.swaggerUi.api.clientAuthorizations.remove(this.model.name);
this.remove();
this.router.load();
}
});
@@ -25219,7 +25219,7 @@ SwaggerUi.Views.BasicAuthButton = Backbone.View.extend({
clickLogout: function () {
window.swaggerUi.api.clientAuthorizations.remove(this.model.name);
this.remove();
this.router.load();
}
});
@@ -25248,7 +25248,7 @@ SwaggerUi.Views.HeaderView = Backbone.View.extend({
showPetStore: function(){
this.trigger('update-swagger-ui', {
url:'http://localhost:3001/swagger.json'
url:'http://petstore.swagger.io/v2/swagger.json'
});
},
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -36,7 +36,7 @@
if (url && url.length > 1) {
url = decodeURIComponent(url[1]);
} else {
url = "http://localhost:3001/swagger.json";
url = "http://petstore.swagger.io/v2/swagger.json";
}
hljs.configure({
+1 -1
View File
@@ -12,7 +12,7 @@ SwaggerUi.Views.HeaderView = Backbone.View.extend({
showPetStore: function(){
this.trigger('update-swagger-ui', {
url:'http://localhost:3001/swagger.json'
url:'http://petstore.swagger.io/v2/swagger.json'
});
},