forked from loafle/openapi-generator-original
Merge pull request #2060 from wing328/scottrw93_fix_2036
[Python] Fix for Python client upload list of files Issue #2036
This commit is contained in:
@@ -1411,6 +1411,8 @@ public class DefaultCodegen {
|
||||
} else if (param instanceof FormParameter) {
|
||||
if ("file".equalsIgnoreCase(((FormParameter) param).getType())) {
|
||||
p.isFile = true;
|
||||
} else if("file".equals(p.baseType)){
|
||||
p.isFile = true;
|
||||
} else {
|
||||
p.notFile = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user