diff --git a/specification/cluster/health/ClusterHealthResponse.ts b/specification/cluster/health/ClusterHealthResponse.ts index 053c56856a..70763b6c34 100644 --- a/specification/cluster/health/ClusterHealthResponse.ts +++ b/specification/cluster/health/ClusterHealthResponse.ts @@ -19,7 +19,7 @@ import { Dictionary } from '@spec_utils/Dictionary' import { HealthStatus, IndexName, Name } from '@_types/common' -import { integer, Percentage } from '@_types/Numeric' +import { double, integer } from '@_types/Numeric' import { Duration, DurationValue, UnitMillis } from '@_types/Time' import { IndexHealthStats } from './types' @@ -42,8 +42,10 @@ export class HealthResponseBody { active_primary_shards: integer /** The total number of active primary and replica shards. */ active_shards: integer + /** The ratio of active shards in the cluster expressed as a string formatted percentage. */ + active_shards_percent?: string /** The ratio of active shards in the cluster expressed as a percentage. */ - active_shards_percent_as_number: Percentage + active_shards_percent_as_number: double /** The name of the cluster. */ cluster_name: Name /** The number of shards whose allocation has been delayed by the timeout settings. */