@RequestMapping( value = {"/vacancies"}, method = RequestMethod.GET) public List<VacancyJsonDto> getVacancies() throws IOException { return vacancyService.getAllVacancies(); }