Skip to content

Commit

Permalink
[typescript-inversify] fix: Sets IsCollectionFormatMulti to true on…
Browse files Browse the repository at this point in the history
… multi file uploads (OpenAPITools#9796)
  • Loading branch information
BradenM committed Aug 6, 2021
1 parent e2ff39d commit 39901c8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ private boolean isLanguageGenericType(String type) {
public void postProcessParameter(CodegenParameter parameter) {
super.postProcessParameter(parameter);
parameter.dataType = applyLocalTypeMapping(parameter.dataType);
if (parameter.isFormParam && parameter.isArray && "binary".equals(parameter.dataFormat)) {
parameter.isCollectionFormatMulti = true;
}
}

@Override
Expand Down

0 comments on commit 39901c8

Please sign in to comment.