class QuestionSetupCompetitionController {

    @GetMapping("/get-by-id/{questionId}")
    public RestResult<CompetitionSetupQuestionResource> getByQuestionId(@PathVariable final long questionId) {
        return questionSetupCompetitionService.getByQuestionId(questionId).toGetResponse();
    }

}