class UserController {

    @ApiOperation(value = "Get all available roles")
    @ApiResponses(value = {
            @ApiResponse(code = 200, message = HttpStatuses.OK, response = RoleDto.class),
            @ApiResponse(code = 303, message = HttpStatuses.SEE_OTHER),
            @ApiResponse(code = 403, message = HttpStatuses.FORBIDDEN)
    })
    @GetMapping("roles")
    public ResponseEntity<RoleDto> getRoles() {
        return ResponseEntity.status(HttpStatus.OK).body(userService.getRoles());
    }

}