From 5558d6d1572c9046aa50592b55220284d3589edc Mon Sep 17 00:00:00 2001 From: SSharma-10 Date: Tue, 9 Jun 2026 00:02:39 +0530 Subject: [PATCH 1/3] Added Missing API Documentation Values --- .../resources/autoscale_pools/models/member.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/specification/resources/autoscale_pools/models/member.yml b/specification/resources/autoscale_pools/models/member.yml index 43a024e16..6c86edf5b 100644 --- a/specification/resources/autoscale_pools/models/member.yml +++ b/specification/resources/autoscale_pools/models/member.yml @@ -17,8 +17,18 @@ properties: example: 2020-07-28T18:00:00Z health_status: type: string - example: 'active' + enum: + - healthy + - unhealthy + example: 'healthy' description: The health status of the Droplet. + unhealthy_reason: + type: string + nullable: true + description: | + A human-readable description of why the Droplet is unhealthy. Returns + `null` when `health_status` is `healthy`. + example: 'Droplet failed health check' status: type: string enum: From a21c1ca16404ca79e5dafef9722f1b9430ed0410 Mon Sep 17 00:00:00 2001 From: SSharma-10 Date: Wed, 10 Jun 2026 13:14:59 +0530 Subject: [PATCH 2/3] added changes --- specification/resources/autoscale_pools/models/member.yml | 1 + specification/resources/autoscale_pools/responses/examples.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/specification/resources/autoscale_pools/models/member.yml b/specification/resources/autoscale_pools/models/member.yml index 6c86edf5b..d71a59d93 100644 --- a/specification/resources/autoscale_pools/models/member.yml +++ b/specification/resources/autoscale_pools/models/member.yml @@ -46,5 +46,6 @@ required: - created_at - updated_at - health_status + - unhealthy_reason - status - current_utilization diff --git a/specification/resources/autoscale_pools/responses/examples.yml b/specification/resources/autoscale_pools/responses/examples.yml index 38399276f..2d1847ebf 100644 --- a/specification/resources/autoscale_pools/responses/examples.yml +++ b/specification/resources/autoscale_pools/responses/examples.yml @@ -73,6 +73,7 @@ members_all: created_at: 2020-11-19T20:27:18Z updated_at: 2020-12-01T00:42:16Z health_status: "healthy" + unhealthy_reason: null status: "active" current_utilization: memory: 0.3588531587713522 From 1ed8fbd87418d172889768a9100a3cfe16b90b23 Mon Sep 17 00:00:00 2001 From: SSharma-10 Date: Thu, 11 Jun 2026 11:29:11 +0530 Subject: [PATCH 3/3] fix --- specification/resources/autoscale_pools/models/member.yml | 6 ++---- .../resources/autoscale_pools/responses/examples.yml | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/specification/resources/autoscale_pools/models/member.yml b/specification/resources/autoscale_pools/models/member.yml index d71a59d93..1d6038e3d 100644 --- a/specification/resources/autoscale_pools/models/member.yml +++ b/specification/resources/autoscale_pools/models/member.yml @@ -24,10 +24,9 @@ properties: description: The health status of the Droplet. unhealthy_reason: type: string - nullable: true description: | - A human-readable description of why the Droplet is unhealthy. Returns - `null` when `health_status` is `healthy`. + A human-readable description of why the Droplet is unhealthy. Only + present when `health_status` is `unhealthy`. example: 'Droplet failed health check' status: type: string @@ -46,6 +45,5 @@ required: - created_at - updated_at - health_status - - unhealthy_reason - status - current_utilization diff --git a/specification/resources/autoscale_pools/responses/examples.yml b/specification/resources/autoscale_pools/responses/examples.yml index 2d1847ebf..38399276f 100644 --- a/specification/resources/autoscale_pools/responses/examples.yml +++ b/specification/resources/autoscale_pools/responses/examples.yml @@ -73,7 +73,6 @@ members_all: created_at: 2020-11-19T20:27:18Z updated_at: 2020-12-01T00:42:16Z health_status: "healthy" - unhealthy_reason: null status: "active" current_utilization: memory: 0.3588531587713522