|
1 | | - |
2 | 1 | package ceos.backend.domain.application; |
3 | 2 |
|
4 | 3 |
|
@@ -38,13 +37,25 @@ public class ApplicationController { |
38 | 37 | @Operation(summary = "지원자 목록 보기") |
39 | 38 | @GetMapping |
40 | 39 | public GetApplications getApplications( |
41 | | - @Parameter(schema = @Schema(allowableValues = {"PRODUCT", "DESIGN", "FRONTEND", "BACKEND"})) |
42 | | - @RequestParam(value = "part", required = false, defaultValue = "") Part part, |
| 40 | + @Parameter( |
| 41 | + schema = |
| 42 | + @Schema( |
| 43 | + allowableValues = { |
| 44 | + "PRODUCT", |
| 45 | + "DESIGN", |
| 46 | + "FRONTEND", |
| 47 | + "BACKEND" |
| 48 | + })) |
| 49 | + @RequestParam(value = "part", required = false, defaultValue = "") |
| 50 | + Part part, |
43 | 51 | @Parameter(schema = @Schema(allowableValues = {"PASS", "FAIL"})) |
44 | | - @RequestParam(value = "docPass", required = false, defaultValue = "") Pass docPass, |
| 52 | + @RequestParam(value = "docPass", required = false, defaultValue = "") |
| 53 | + Pass docPass, |
45 | 54 | @Parameter(schema = @Schema(allowableValues = {"PASS", "FAIL"})) |
46 | | - @RequestParam(value = "finalPass", required = false, defaultValue = "") Pass finalPass, |
47 | | - @RequestParam(value = "applicantName", required = false, defaultValue = "") String applicantName, |
| 55 | + @RequestParam(value = "finalPass", required = false, defaultValue = "") |
| 56 | + Pass finalPass, |
| 57 | + @RequestParam(value = "applicantName", required = false, defaultValue = "") |
| 58 | + String applicantName, |
48 | 59 | @RequestParam("pageNum") int pageNum, |
49 | 60 | @RequestParam("limit") int limit) { |
50 | 61 | log.info("지원자 목록 보기"); |
@@ -145,7 +156,8 @@ public void updateDocumentPassStatus( |
145 | 156 |
|
146 | 157 | @Operation(summary = "면접 참여 가능 여부 확인", description = "resultDateDoc ~ resultDateFinal 전날") |
147 | 158 | @GetMapping(value = "/{applicationId}/interview/availability") |
148 | | - public GetInterviewAvailability getInterviewAvailability(@PathVariable("applicationId") Long applicationId) { |
| 159 | + public GetInterviewAvailability getInterviewAvailability( |
| 160 | + @PathVariable("applicationId") Long applicationId) { |
149 | 161 | log.info("면접 참여 가능 여부 확인"); |
150 | 162 | return applicationService.getInterviewAvailability(applicationId); |
151 | 163 | } |
|
0 commit comments