From 98d8d3e667c0d65379b49543f42b3d9a32412018 Mon Sep 17 00:00:00 2001 From: Hassan Allybocus Date: Tue, 1 Dec 2015 09:49:32 +0100 Subject: [PATCH] Fix file displayed as undefined File was not showing properly in the DataType for formData --- dist/swagger-ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dist/swagger-ui.js b/dist/swagger-ui.js index 2f6d71b18f6..6721553a435 100644 --- a/dist/swagger-ui.js +++ b/dist/swagger-ui.js @@ -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) {