class UserController {

    @ApiOperation(value = "Get six friends profile picture with the highest rating")
    @ApiResponses(value = {
            @ApiResponse(code = 200, message = HttpStatuses.OK),
            @ApiResponse(code = 400, message = HttpStatuses.BAD_REQUEST),
            @ApiResponse(code = 403, message = HttpStatuses.FORBIDDEN)
    })
    @GetMapping("/{userId}/sixUserFriends/")
    public ResponseEntity<List<UserProfilePictureDto>> getSixFriendsWithTheHighestRating(
            @ApiParam("Id of current user. Cannot be empty.")
            @PathVariable @CurrentUserId Long userId) {
        return ResponseEntity
                .status(HttpStatus.OK)
                .body(userService.getSixFriendsWithTheHighestRating(userId));
    }

}