From de732ba73206ec69d6ff3923de684cdaeafedbeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 5 Jun 2026 14:46:14 +0200 Subject: [PATCH] docs(api): regenerate OpenAPI for new MeasurementType values Pick up AVERAGE_HEART_RATE / MAX_HEART_RATE / SLEEP_DISTURBANCE_COUNT in the MeasurementType enum the iOS client consumes. Co-Authored-By: Claude Opus 4.8 (1M context) --- docs/api/openapi.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/api/openapi.yaml b/docs/api/openapi.yaml index b6615a691..87da5c00e 100644 --- a/docs/api/openapi.yaml +++ b/docs/api/openapi.yaml @@ -738,6 +738,9 @@ paths: - SLEEP_CONSISTENCY - SLEEP_NEED - ENERGY_EXPENDITURE_KJ + - AVERAGE_HEART_RATE + - MAX_HEART_RATE + - SLEEP_DISTURBANCE_COUNT - in: query name: from schema: @@ -894,6 +897,9 @@ paths: - SLEEP_CONSISTENCY - SLEEP_NEED - ENERGY_EXPENDITURE_KJ + - AVERAGE_HEART_RATE + - MAX_HEART_RATE + - SLEEP_DISTURBANCE_COUNT value: type: number measuredAt: @@ -2722,6 +2728,9 @@ paths: - SLEEP_CONSISTENCY - SLEEP_NEED - ENERGY_EXPENDITURE_KJ + - AVERAGE_HEART_RATE + - MAX_HEART_RATE + - SLEEP_DISTURBANCE_COUNT description: "The measurement type to read (single metric — no fan-out). Closed enum: an unknown type 422s." required: true description: "The measurement type to read (single metric — no fan-out). Closed enum: an unknown type 422s." @@ -4796,6 +4805,9 @@ components: - SLEEP_CONSISTENCY - SLEEP_NEED - ENERGY_EXPENDITURE_KJ + - AVERAGE_HEART_RATE + - MAX_HEART_RATE + - SLEEP_DISTURBANCE_COUNT value: type: number unit: @@ -5112,6 +5124,9 @@ components: - SLEEP_CONSISTENCY - SLEEP_NEED - ENERGY_EXPENDITURE_KJ + - AVERAGE_HEART_RATE + - MAX_HEART_RATE + - SLEEP_DISTURBANCE_COUNT value: type: number unit: