[R9] Add missing java doc
This commit is contained in:
parent
845fc2f350
commit
d363a814bc
@ -52,6 +52,14 @@ public class AuthenticationController {
|
|||||||
return ResponseEntity.ok(token);
|
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")
|
@PostMapping(value = "/register")
|
||||||
public ResponseEntity<Object> register(@RequestBody @Valid UserDTO userDTO) {
|
public ResponseEntity<Object> register(@RequestBody @Valid UserDTO userDTO) {
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user