diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index c2c4f5500b..6bbe83ea05 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -89885,10 +89885,11 @@ } }, "extended": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/cluster.stats.ExtendedSearchUsage" - } + "allOf": [ + { + "$ref": "#/components/schemas/cluster.stats.ExtendedSearchUsage" + } + ] } }, "required": [ diff --git a/output/schema/schema.json b/output/schema/schema.json index 4ce6deba14..9b3f4d1798 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -131108,21 +131108,10 @@ "name": "extended", "required": true, "type": { - "kind": "dictionary_of", - "key": { - "kind": "instance_of", - "type": { - "name": "Name", - "namespace": "_types" - } - }, - "singleKey": false, - "value": { - "kind": "instance_of", - "type": { - "name": "ExtendedSearchUsage", - "namespace": "cluster.stats" - } + "kind": "instance_of", + "type": { + "name": "ExtendedSearchUsage", + "namespace": "cluster.stats" } } } diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 4d84479dd5..ebdd22b104 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -10246,7 +10246,7 @@ export interface ClusterStatsSearchUsageStats { rescorers: Record sections: Record retrievers: Record - extended: Record + extended: ClusterStatsExtendedSearchUsage } export type ClusterStatsShardState = 'INIT' | 'SUCCESS' | 'FAILED' | 'ABORTED' | 'MISSING' | 'WAITING' | 'QUEUED' | 'PAUSED_FOR_NODE_REMOVAL' diff --git a/specification/cluster/stats/types.ts b/specification/cluster/stats/types.ts index daac97b9d6..55fecd82bd 100644 --- a/specification/cluster/stats/types.ts +++ b/specification/cluster/stats/types.ts @@ -153,7 +153,7 @@ export class SearchUsageStats { sections: Dictionary retrievers: Dictionary /* @availability stack since=9.2.0 */ - extended: Dictionary + extended: ExtendedSearchUsage } export class ExtendedSearchUsage {