[FEAT/#20] cal/일정 조회 기능#23
Open
jiwonniddaaa wants to merge 3 commits into
Open
Conversation
+ cal CRUD 테스트 완료
youngseo22
requested changes
May 26, 2026
| ) | ||
|
|
||
| data class CalendarSchedule( | ||
| @JsonProperty("schedule_id") |
Contributor
There was a problem hiding this comment.
이런식으로 스네이크 케이스로 jsonProperty 달아두면 response가 스네이크케이스로 나오지않아??
|
|
||
| @GetMapping("/month") | ||
| fun getCalendarSchedules( | ||
| @RequestHeader("X-USER-ID") userId: Long, |
Contributor
There was a problem hiding this comment.
헤더로 userId를 직접 받아오는 게 아닌 jwt 토큰으로 userId 조회해서 가져옵니다!
|
|
||
| val calendarSchedules = schedules.map { schedule -> | ||
| CalendarSchedule( | ||
| scheduleId = schedule.scheduleId ?: throw IllegalStateException("일정 ID가 존재하지 않습니다."), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
이슈 번호
작업 내용
기타