mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
added formParam values
This commit is contained in:
parent
3b96894e75
commit
4c53d7b8c4
@ -680,8 +680,14 @@ public class DefaultCodegen {
|
||||
p.isBodyParam = new Boolean(true);
|
||||
bodyParam = p;
|
||||
}
|
||||
// else if(param instanceof FormParameter)
|
||||
// formParams.add(p);
|
||||
else if(param instanceof FormParameter) {
|
||||
formParams.add(p);
|
||||
if("File".equals(p.dataType))
|
||||
p.isFile = true;
|
||||
else
|
||||
p.notFile = true;
|
||||
p.isFormParam = new Boolean(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
for(String i: imports) {
|
||||
|
Loading…
Reference in New Issue
Block a user