|
13 | 13 | @Schema(description = "ToDo / Step 리스트 정보 응답") |
14 | 14 | public record TodoStepResponse( |
15 | 15 |
|
16 | | - @Schema(description = "D-Day", example = "D-10") String dDay, |
| 16 | + @Schema(description = "D-Day", example = "D-10") |
| 17 | + String dDay, |
17 | 18 |
|
18 | | - @Schema(description = "제목", example = "우물밖개구리 프로젝트") String title, |
| 19 | + @Schema(description = "제목", example = "우물밖개구리 프로젝트") |
| 20 | + String title, |
19 | 21 |
|
20 | | - @Schema(description = "마감 요일 목록", example = "[\"MONDAY\", \"WEDNESDAY\", \"FRIDAY\"]") List<Day> expectedDays, |
| 22 | + @Schema(description = "마감 요일 목록", example = "[\"MONDAY\", \"WEDNESDAY\", \"FRIDAY\"]") |
| 23 | + List<Day> expectedDays, |
21 | 24 |
|
22 | | - @Schema(description = "시작일", example = "2025-09-05") LocalDate startDate, |
| 25 | + @Schema(description = "시작일", example = "2025-09-05") |
| 26 | + LocalDate startDate, |
23 | 27 |
|
24 | | - @Schema(description = "마감일", example = "2025-09-05") LocalDate endDate, |
| 28 | + @Schema(description = "마감일", example = "2025-09-05") |
| 29 | + LocalDate endDate, |
25 | 30 |
|
26 | | - @Schema(description = "진행률 문구", example = "개구리가 햇빛을 보기 시작했어요!") String progressText, |
| 31 | + @Schema(description = "진행률 문구", example = "개구리가 햇빛을 보기 시작했어요!") |
| 32 | + String progressText, |
27 | 33 |
|
28 | | - @Schema(description = "진행률", example = "50") Integer progress, |
| 34 | + @Schema(description = "진행률", example = "50") |
| 35 | + Integer progress, |
29 | 36 |
|
30 | | - @Schema(description = "Step 리스트") List<StepResponse> steps |
| 37 | + @Schema(description = "Step 리스트") |
| 38 | + List<StepResponse> steps |
31 | 39 |
|
32 | 40 | ) { |
33 | 41 | public static TodoStepResponse of(Todo todo, String progressText, List<StepResponse> stepResponses) { |
|
0 commit comments