forked from loafle/openapi-generator-original
made match case insensitive
This commit is contained in:
parent
10e9e8a51d
commit
dd9da67f51
@ -687,7 +687,7 @@ public class DefaultCodegen {
|
||||
bodyParams.add(p.copy());
|
||||
}
|
||||
else if(param instanceof FormParameter) {
|
||||
if("file".equals(p.dataType))
|
||||
if("file".equalsIgnoreCase(p.dataType))
|
||||
p.isFile = true;
|
||||
else
|
||||
p.notFile = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user