From 3d6770ddb6d46bdfe20bcbfbf6061a74abcd35e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Mon, 10 Aug 2026 07:00:17 +0200 Subject: [PATCH] chore(api): regenerate OpenAPI for schedules[].unitsPerDose --- docs/api/openapi.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/api/openapi.yaml b/docs/api/openapi.yaml index a6047c756..ebcd2131f 100644 --- a/docs/api/openapi.yaml +++ b/docs/api/openapi.yaml @@ -15349,6 +15349,12 @@ components: description: Per-schedule dose override. NULL means the schedule inherits `Medication.dose`. type: string maxLength: 50 + unitsPerDose: + description: Per-schedule inventory units consumed per dose (#219). A whole number 1-100 or a supported fraction (¼ / ⅓ + / ½ / ⅔ / ¾) for a split pill. Omitted / NULL means the schedule inherits `Medication.unitsPerDose`. Lets + one medication decrement a different tablet count at different times of day (a whole tablet in the morning, + a half at noon). + type: number daysOfWeek: description: Legacy day-of-week filter (0=Sunday..6=Saturday). v1.5 reads new writes through `rrule` first; this field is preserved for pre-v1.5 rows and is the input the route serialises into the persisted `days_of_week`