I have a post method that accepts the following Dto class,
public class MyDto1 {
private MultipartFile f1;
private MultipartFile f2;
private MultipartFile f3;
private List < MyDto2 > filesList;
private String description;
}
public class MyDto2 {
private Long id,
private String description;
private MultipartFile f1;
private MultipartFile f2;
private MultipartFile f3;
}
How can I set the request body in postman to send this request, I tried setting all multipart variables as null
and it works. But now I want to test with MultipartFile, how can I add MultipartFile with the body