2

I am using the below annotation to show multipart file attribute on swagger-ui, which is working fine. But issue starts where i need to show the required(*) symbol for file attribute on swagger-ui.

Here is how I am using @RequestPart annotation.

@RequestPart(value = "file", required=true) final Multipart file

But required property is not being applied, please suggest, how to add required symbol on any attribute using @RequestPart annotation.

iUbaid
  • 313
  • 2
  • 16

0 Answers0