Fix file displayed as undefined

File was not showing properly in the DataType for formData
This commit is contained in:
Hassan Allybocus
2015-12-01 09:49:32 +01:00
parent 04e1fb5cef
commit 98d8d3e667

2
dist/swagger-ui.js vendored
View File

@@ -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) {