Contributions
@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.650Views0likes0CommentsRe: 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 fileIdRenameattribute not fileRename attribute1.5KViews0likes0CommentsApiImplicitParam not showing File param on swagger UI
I am creating swagger document using annotations in springboot application, all the APIs params are working instead offileparam,fileparam is not being shown in the swagger UI. It is also not giving any errors in the logs related to thefileattribute. Below is the annotation being used to display thefileparam. @ApiImplicitParam(name="mediafile", value="upload the file", dataTypeClass="File.class", required=true, paramType="form") I also have changedparamType="formData"but still file attribute is still not showing up. Any help will be appreciated. Swagger = v3.01.6KViews0likes2Comments