How validate an object using @Valid in Spring Boot?

后端 未结 0 1911
执笔经年
执笔经年 2021-01-29 15:52

I\'m working on a Spring Boot project and I\'m trying to validate some fields from an object.

Actually I have an API which accepts parameters. I know I can use @Val

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