请问如何让 problem-spring-web报错会指出一个具体的字段呢?

问题遇到的现象和发生背景

请问如何让 MethodArgumentTypeMismatchException 报错会指出一个具体的字段呢?

2022-09-16 17:36:49.818 WARN 16008 --- [ XNIO-2 task-1] o.z.problem.spring.common.AdviceTraits : Bad Request: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "undefined"
[org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "undefined"]
2022-09-16 17:35:39.558 ERROR 16008 --- [hrsystem-task-1]

这个框架
https://github.com/spring-projects/spring-framework/blob/main/spring-web/src/main/java/org/springframework/web/method/annotation/MethodArgumentTypeMismatchException.java

https://github.com/zalando/problem-spring-web/blob/main/problem-spring-common/src/main/java/org/zalando/problem/spring/common/AdviceTrait.java

如何让MethodArgumentTypeMismatchException报错会指出一个具体的字段呢,比如entity有个 number字段,如果是他是undefined,他会报错是 number为undefined,而不是仅仅是说是个int类型的字段

用代码块功能插入代码,请勿粘贴截图
不知道你这个问题是否已经解决, 如果还没有解决的话:

如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^