Similar to {{ParameterNameProvider}}, we might consider another contract which allows to customize the name of properties in constraint violations, potentially also custom values instead of {{<return-value>}} and {{<cross-parameter>}}.
Based on this question on SO: http://stackoverflow.com/questions/18878868/hibernate-validator-and-jackson-using-the-jsonproperty-value-as-the-constraint ML discussion: http://lists.jboss.org/pipermail/hibernate-dev/2013-September/010374.html
|