How to implement multiple file upload feature, with each of file have it own extra field (eg. comment, documentType) in Spring Boot?

This answer might be related but it's for single file only:
[Spring boot controller - Upload Multipart and JSON to DTO](https://stackoverflow.com/questions/49845355/spring-boot-controller-upload-multipart-and-json-to-dto)