How to change spring validation annotations message type from string to another class type?

后端 未结 0 367
感情败类
感情败类 2021-01-21 06:12

I developed a multi-language application with spring boot and I want to return validation errors in two languages, but I can only pass a string message to for example @Not

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