Closed vadimbasko closed 3 years ago
After discussion with @andreysubbotin and @knstvk have been made a decision. If needed get a detailed message about an error must use bean validation annotation, e.g. NotNull because Column annotation sets the constraint only on the database level.
{"manufacturer":"Tesla"}
AR: {"error":"Server error","details":""}
ER: JSON response with validation error for carType property