Merge pull request #1791 from DarkSorrow/master
Fix file displayed as undefined
This commit is contained in:
2
dist/swagger-ui.js
vendored
2
dist/swagger-ui.js
vendored
@@ -4167,6 +4167,8 @@ Operation.prototype.getType = function (param) {
|
||||
if (param.items) {
|
||||
str = this.getType(param.items);
|
||||
}
|
||||
} else if (type === 'file') {
|
||||
str = 'file';
|
||||
}
|
||||
|
||||
if (param.$ref) {
|
||||
|
||||
Reference in New Issue
Block a user