We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a39392 + 2541dfb commit b6067a1Copy full SHA for b6067a1
src/main/javascript/view/MainView.js
@@ -74,7 +74,9 @@ SwaggerUi.Views.MainView = Backbone.View.extend({
74
// is there any valid case were it should not be added ?
75
var def;
76
for(def in this.model.definitions){
77
- this.model.definitions[def].type = 'object';
+ if (this.model.definitions[def].type === null){
78
+ this.model.definitions[def].type = 'object';
79
+ }
80
}
81
82
},
0 commit comments