@RequestPart annotation issue
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2021
12:43 AM
11-30-2021
12:43 AM
@RequestPart annotation issue
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.
Labels:
0 REPLIES 0
