I am having trouble getting my validation message to be resolved.
I have been searching and reading through the web and SO for some hours now, I want to relate the q
For rest controllers you will then have to add @Valid annotation on method parameter's request body. e.g
@PostMapping public User create(@Valid @RequestBody User user){ //... }