ContributionsMost RecentMost LikesSolutions@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. Re: ApiImplicitParam not showing File param on swagger UI Thanks for giving me some solution advice, but this same thing i replicated to my code editor and tried to run, but it is not showing file attribute on swagger UI, it is just showing the fileIdRename attribute not fileRename attribute ApiImplicitParam not showing File param on swagger UI I am creating swagger document using annotations in springboot application, all the APIs params are working instead of file param, file param is not being shown in the swagger UI. It is also not giving any errors in the logs related to the file attribute. Below is the annotation being used to display the file param. @ApiImplicitParam(name="mediafile", value="upload the file", dataTypeClass="File.class", required=true, paramType="form") I also have changed paramType="formData" but still file attribute is still not showing up. Any help will be appreciated. Swagger = v3.0