feat(api): expose recurrence in schedule detail
This commit is contained in:
@ -385,6 +385,22 @@ const doc = {
|
||||
$endTimeLocal: "13:00:00",
|
||||
$recurrence: { $ref: "#/components/schemas/scheduleRecurrence" }
|
||||
},
|
||||
scheduleSeriesDetail: {
|
||||
$id: "uuid-string",
|
||||
$room_id: "uuid-string",
|
||||
$doctor_id: "uuid-string",
|
||||
$title: "Practice Schedule",
|
||||
$timezone: "Asia/Jakarta",
|
||||
$quota: 20,
|
||||
$start_date: "2026-03-20",
|
||||
$until_date: "2026-06-30",
|
||||
$start_time_local: "09:00:00",
|
||||
$end_time_local: "12:00:00",
|
||||
$recurrence: { $ref: "#/components/schemas/scheduleRecurrence" },
|
||||
$status: "Active",
|
||||
$room: { id: "uuid-string", room: "Room 1" },
|
||||
$doctor: { id: "uuid-string", name: "Dr A" }
|
||||
},
|
||||
scheduleExceptionCreate: {
|
||||
$occurrenceDate: "2026-03-24",
|
||||
$isCancelled: false,
|
||||
|
||||
Reference in New Issue
Block a user