merged with master
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 644 B After Width: | Height: | Size: 645 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 769 B After Width: | Height: | Size: 770 B |
|
Before Width: | Height: | Size: 823 B After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 979 B After Width: | Height: | Size: 980 B |
@@ -13,7 +13,7 @@ SwaggerUi.Views.HeaderView = Backbone.View.extend({
|
|||||||
|
|
||||||
showPetStore: function(){
|
showPetStore: function(){
|
||||||
this.trigger('update-swagger-ui', {
|
this.trigger('update-swagger-ui', {
|
||||||
url:'http://petstore.swagger.wordnik.com/api/api-docs'
|
url:'http://petstore.swagger.io/v2/swagger.json'
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -52,4 +52,4 @@ SwaggerUi.Views.HeaderView = Backbone.View.extend({
|
|||||||
this.trigger('update-swagger-ui', {url:url});
|
this.trigger('update-swagger-ui', {url:url});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
"title": "Swagger Sample App",
|
"title": "Swagger Sample App",
|
||||||
"description": "This is a sample server Petstore server. You can find out more about Swagger \n at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample,\n you can use the api key \"special-key\" to test the authorization filters",
|
"description": "This is a sample server Petstore server. You can find out more about Swagger \n at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample,\n you can use the api key \"special-key\" to test the authorization filters",
|
||||||
"termsOfServiceUrl": "http://helloreverb.com/terms/",
|
"termsOfServiceUrl": "http://helloreverb.com/terms/",
|
||||||
"contact": "apiteam@wordnik.com",
|
"contact": "apiteam@swagger.io",
|
||||||
"license": "Apache 2.0",
|
"license": "Apache 2.0",
|
||||||
"licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
"licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"contact": {
|
"contact": {
|
||||||
"url": "http://swagger.io",
|
"url": "http://swagger.io",
|
||||||
"name": "Your pals at Swagger",
|
"name": "Your pals at Swagger",
|
||||||
"email": "apiteam@wordnik.com"
|
"email": "apiteam@swagger.io"
|
||||||
},
|
},
|
||||||
"license": {
|
"license": {
|
||||||
"name": "Apache 2.0",
|
"name": "Apache 2.0",
|
||||||
|
|||||||