Skip to content

Commit

Permalink
#16 response 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chs98412 committed Sep 26, 2024
1 parent c8e628d commit 483be86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import java.time.LocalDateTime

data class ScheduleDetailResponse(
val scheduleNo: Int,
val accountNo: Int,
val busyLevel: String,
val scheduleName: String,
val scheduleLocation: String,
Expand All @@ -18,6 +19,7 @@ data class ScheduleDetailResponse(
// 특정 일정 조회 (엔티티 -> response)
fun from(schedule: Schedule) = ScheduleDetailResponse(
scheduleNo = schedule.scheduleNo,
accountNo = schedule.accountNo,
busyLevel = schedule.busyLevel,
scheduleName = schedule.scheduleName,
scheduleLocation = schedule.scheduleLocation,
Expand Down
4 changes: 2 additions & 2 deletions src/test/http/example.http
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Member-Code: eyJubyI6MiwibmFtZSI6Im5hbWUiLCJhY2NvdW50IjoiYWNjb3VudCJ9
}

### 특정 날짜 일정 조회
GET {{url}}/schedule?searchDate=2024-09-02
GET {{url}}/schedule?searchDate=2024-09-26
Content-Type: application/json
Member-Code: eyJubyI6MiwibmFtZSI6Im5hbWUiLCJhY2NvdW50IjoiYWNjb3VudCJ9

Expand All @@ -42,7 +42,7 @@ Content-Type: application/json
Member-Code: eyJubyI6MSwibmFtZSI6Im5hbWUiLCJhY2NvdW50IjoiYWNjb3VudCJ9

### (커플) 특정 날짜 일정 조회
GET {{url}}/schedule/couple?searchDate=2024-09-02
GET {{url}}/schedule/couple?searchDate=2024-09-26
Content-Type: application/json
Member-Code: eyJubyI6MSwibmFtZSI6Im5hbWUiLCJhY2NvdW50IjoiYWNjb3VudCJ9

Expand Down

0 comments on commit 483be86

Please sign in to comment.