Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ public record MentorSlotRepetitionRequest(
@NotEmpty
List<DayOfWeek> daysOfWeek,

@Schema(description = "시작 시간", example = "HH:mm:ss")
@Schema(description = "시작 시간", example = "HH:mm")
@NotNull
@JsonFormat(pattern = "HH:mm:ss")
@JsonFormat(pattern = "HH:mm")
LocalTime startTime,

@Schema(description = "종료 시간", example = "HH:mm:ss")
@Schema(description = "종료 시간", example = "HH:mm")
@NotNull
@JsonFormat(pattern = "HH:mm:ss")
@JsonFormat(pattern = "HH:mm")
LocalTime endTime
){
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ public record MentorSlotRequest(
@NotNull
Long mentorId,

@Schema(description = "시작 일시", example = "yyyy-MM-ddTHH:mm:ss")
@Schema(description = "시작 일시", example = "yyyy-MM-ddTHH:mm")
@NotNull
LocalDateTime startDateTime,

@Schema(description = "종료 일시", example = "yyyy-MM-ddTHH:mm:ss")
@Schema(description = "종료 일시", example = "yyyy-MM-ddTHH:mm")
@NotNull
LocalDateTime endDateTime
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ void createMentorSlotRepetitionSuccess() throws Exception {
"repeatStartDate": "%s",
"repeatEndDate": "%s",
"daysOfWeek": ["MONDAY", "WEDNESDAY", "FRIDAY"],
"startTime": "10:00:00",
"endTime": "11:00:00"
"startTime": "10:00",
"endTime": "11:00"
}
""".formatted(
startDate.format(DateTimeFormatter.ISO_LOCAL_DATE),
Expand Down