made match case insensitive

This commit is contained in:
Tony Tam 2015-02-12 21:51:44 -08:00
parent 10e9e8a51d
commit dd9da67f51

View File

@ -687,7 +687,7 @@ public class DefaultCodegen {
bodyParams.add(p.copy()); bodyParams.add(p.copy());
} }
else if(param instanceof FormParameter) { else if(param instanceof FormParameter) {
if("file".equals(p.dataType)) if("file".equalsIgnoreCase(p.dataType))
p.isFile = true; p.isFile = true;
else else
p.notFile = true; p.notFile = true;