Forum Discussion
MarioRe
New Contributor
I'm pretty sure you could do something along of
@Content(schema = @Schema(implementation = fileaandfileb.class))
while fileaandfileb has filea and fileb as members
sgh
5 years agoNew Contributor
Hi. Thanks for the hint. I am aware of this possibility. I would consider this a "workaround" not a real solution.
OpenAPI reference https://swagger.io/docs/specification/describing-request-body/ describes the multipart upload as stated in the post above.
So I would assume, that the swagger annotation would allow me in some way to declare something that results in a correct openapi JSON ?
Related Content
- 4 years ago
- 2 years ago
Recent Discussions
- 2 days ago
- 8 days ago