How to get the RequestParam name in ConstraintViolationException when field validation fails in SpringBoot

后端 未结 0 1567
既然无缘
既然无缘 2020-12-01 01:05

Is there a way to retrieve the RequestParam name (not the field variable name) in springboot validation?

For example

@GetMapping(value = "/abc&quo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题