{
"timestamp" : "2018-04-27T02:14:12.161+0000",
"status" : 500,
"error" : "Internal Server Error",
"message" : "Validation failed for classes [de.ul.swtp.modules.contactmanagement.Contact] during persist time for groups [javax.validation.groups.Default, ]\nList of constraint violations:[\n\tConstraintViolationImpl{interpolatedMessage='must not be blank', propertyPath=address, rootBeanClass=class de.ul.swtp.modules.contactmanagement.Contact, messageTemplate='{javax.validation.constraints.NotBlank.message}'}\n\tConstraintViolationImpl{interpolatedMessage='must not be blank', propertyPath=lastName, rootBeanClass=class de.ul.swtp.modules.contactmanagement.Contact, messageTemplate='{javax.validation.constraints.NotBlank.message}'}\n\tConstraintViolationImpl{interpolatedMessage='must not be blank', propertyPath=firstName, rootBeanClass=class de.ul.swtp.modules.contactmanagement.Contact, messageTemplate='{javax.validation.constraints.NotBlank.message}'}\n]",
"path" : "/contacts"
}
actual:
expected: status 400 and a useful message
request to reproduce: