[auth] fix Set petstore spec as default

This commit is contained in:
bodnia
2016-03-02 01:13:09 +02:00
committed by Anna Bodnia
parent 7dac0e9a91
commit e405c42465
5 changed files with 7 additions and 7 deletions

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({

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'
});
},