OpenAPITools / OpenAPITools/openapi-generator
multi-part form does not call request.sendMultipartForm in vertx client
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Description
After generating the vertx client using the openApi, I am not able to send a multipart for using the content-type:
"multipart/form-data"
Instead a method to request.sendForm override the contenType to "application/x-www-form-urlencoded"
I can see that the method:
void sendMultipartForm(MultipartForm var1, Handler<AsyncResult<HttpResponse<T>>> var2);
has never been called and the MultipartForm has not been generated
openapi-generator version
Version 5.1.1
OpenAPI declaration file content or url
Command line used for generation
Maven plugin for java
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
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 at the Vert.x client generator and the generated request path for multipart/form-data; the issue does not name specific files, tests, or an OpenAPI declaration. Reproduce with a multipart operation and verify that a MultipartForm is generated and request.sendMultipartForm is called instead of request.sendForm.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, openapi
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100