How to change error code in annotation @PastOrPresent of javax.validation.constaints?

后端 未结 0 642
遇见更好的自我
遇见更好的自我 2021-02-01 09:43

@PastOrPresent annotation validator from spring-boot-starter-validation framework returns error code - 400.

For my task I need HTTP code - 422. How could I c

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