Spring Boot - Exception Handling
Given this Spring Boot controller method snippet, what will be the HTTP response status if validation fails?
@PostMapping("/users")
public ResponseEntity createUser(@Valid @RequestBody User user) {
return ResponseEntity.ok("User created");
} 