[BUG][JAVA] Multipart form with array of files doesn't work
Created by: toymachiner62
Bug Report Checklist
-
Have you provided a full/minimal spec to reproduce the issue? -
Have you validated the input using an OpenAPI validator (example)? -
What's the version of OpenAPI Generator used? -
Have you search for related issues/PRs? -
What's the actual output vs expected output? -
[Optional] Bounty to sponsor the fix (example)
Description
With a POST endpoint with multipart form body to upload an array of files, the generated code doesn't account for an array of files so it doesn't send any files across the wire.
openapi-generator version
4.3.0
OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix
This line doesn't account for the param.getValue()
being an ArrayList