OpenAPITools / OpenAPITools/openapi-generator
[BUG] [C++][cpp-restsdk] multipart: How to upload multiple files with same form field name per file.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
I want to upload multiple files under same form field name per file using multipart in a single request.
But because of the same form field name, it was taking all the files.
The details are already posted on stackoverflow:
please respond if anyone knows the fix.
openapi-generator-cli version 4.3.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Stack Overflow report and the multipart behavior in openapi-generator-cli 4.3.1; the issue names no repository file or test. Reproduce the repeated form-field upload case, locate the relevant generated C++ client path, and define a regression test showing that each file is transmitted under the same field name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100