There is a problem with the client generation in the REST Builder when there is an endpoint accepting multiple request body content types and one of them is multipart.
The Headless Batch Engine API could be used as an example adding the config flag to create the client. I will attach the files to be replaced.
Steps to reproduce:
- Replace the rest-openapi.yaml and rest-config.yaml files in the headless-batch-engine-impl module with the ones provided in the ticket
- Create the folder headless-batch-engine-client and a subfolder src
- Add inside the bnd.bnd and build.gradle files provided in the ticket
- Go to the headless-batch-engine-impl module and run `gw buildREST`
Go to the generated headless-batch-engine-client module and run `gw deploy`
Expected result: Success compilation
Result: There are errors compiling the module