class ReviewController {

    @GetMapping("/user/{userId}/competition/{competitionId}")
    public RestResult<List<ReviewResource>> getReviews(
            @PathVariable("userId") long userId,
            @PathVariable("competitionId") long competitionId) {
        return reviewService.getReviews(userId, competitionId).toGetResponse();
    }

}