Skip to content

Commit

Permalink
[fix]: 필요없는 parameter swagger에서 안보이도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
LJH098 committed Sep 16, 2024
1 parent fb3d3c5 commit cf70b47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public ResponseEntity<Interviewer> findByApplicantId(
@Operation(description = "Interviewer 전체 조회", summary = "면접관 전체 조회")
@ApiErrorExceptionsExample(InterviewerExceptionDocs.class)
@GetMapping("/interviewers")
public ResponseEntity<List<InterviewerResponseDto>> findAll(@ParameterObject String order) {
public ResponseEntity<List<InterviewerResponseDto>> findAll(@ParameterObject String order, @RequestParam(required = false) List<String> roles) {
List<InterviewerResponseDto> interviewers = interviewerUseCase.findAll(order);
return new ResponseEntity(interviewers, HttpStatus.OK);
}
Expand Down

0 comments on commit cf70b47

Please sign in to comment.