forked from loafle/openapi-generator-original
made match case insensitive
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user