[R9] Add missing java doc

This commit is contained in:
Mirna Gama 2024-01-12 13:55:41 -03:00 committed by Mirna Gama
parent 845fc2f350
commit d363a814bc

View File

@ -52,6 +52,14 @@ public class AuthenticationController {
return ResponseEntity.ok(token);
}
/**
* Performs the user registration
*
* @param userDTO A data transfer object containing the user data to perform the registration
*
* @return The registered user if successful, or null if there is an error.
*/
@PostMapping(value = "/register")
public ResponseEntity<Object> register(@RequestBody @Valid UserDTO userDTO) {