Closed
Description
Assuming the following open api snippet for a request body for uploading multiple files:
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
properties:
files:
type: array
items:
type: string
format: binary
the generatr should create an additional query parameter instead of a @RequestBody
parameter, in this case as array
@RequestParam(name = "files") MultipartFile[] files