We are using raml parser to generate the java interfaces. Everything is working fine except the following interfaces. We are using multipart/mixed content type to upload the multiple files (from our existing clients).
example: !include examples/postFileExample.json
Once we generate the interface for above action. The appropriate is class for multipart/mixed is not getting generated. It generating Reader class for multipart/mixed mime type (Refer the next code snippet).
I have checked with other mime types “multipart/form-data”, its generating the relevant class “MimeMultipart” in java code. Can some body let me know what changes I should do for multipart/mixed mime type, so that relevant class get generated instead of Reader class? I am using mulesoft raml parser to generate the code. Anyone has achieved the same ?