This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Description
In my case , i want to upload multi file ,but i get exception java.lang.IllegalStateException: Method has too many Body parameters,my code like that
@FeignClient(configuration = MultipartFormDataConfig.class)
public class Demo{
@PostMapping(
path = "/upload",
consumes = org.springframework.http.MediaType.MULTIPART_FORM_DATA_VALUE
)
Response uploadFile(
@RequestPart MultipartFile file1,
@RequestPart MultipartFile file2
);
}