tests #1186 Render primitive types in "Response Class"

This commit is contained in:
Anna Bodnia
2016-02-05 16:02:01 +02:00
parent 81c5e8c966
commit 0dd6cde608
4 changed files with 42 additions and 7 deletions

6
dist/swagger-ui.js vendored
View File

@@ -25124,7 +25124,7 @@ SwaggerUi.Views.HeaderView = Backbone.View.extend({
showPetStore: function(){
this.trigger('update-swagger-ui', {
url:'http://localhost:3001/order2.json'
url:'http://petstore.swagger.io/v2/swagger.json'
});
},
@@ -27097,8 +27097,8 @@ SwaggerUi.partials.signature = (function () {
switch (type) {
case 'object': return 'Object is not a primitive';
case 'array' : return 'Array[' + items.type + ']';
default: return type;
case 'array' : return 'Array[' + (items.format || items.type) + ']';
default: return schema.format || type;
}
};