Closed schafdog closed 5 years ago
I am trying to build a resource file upload service but it seems to generate invalid code, but maybe I am doing it wrong:
Given a post operation like this:
post: operationId: createResource summary: Create new resource description: create a remote resources requestBody: content: application/octet-stream: schema: type: string format: binary
The generated API gets a parameter of @RequestBody Resource body but the Delegate has a parameter of MultipartFile body
Am I doing something wrong? Anyone with a working example of File upload would appreciated .
Sorry wrong project. Closing as invalid
I am trying to build a resource file upload service but it seems to generate invalid code, but maybe I am doing it wrong:
Given a post operation like this:
The generated API gets a parameter of @RequestBody Resource body but the Delegate has a parameter of MultipartFile body
Am I doing something wrong? Anyone with a working example of File upload would appreciated .