diff --git a/spec/namespaces/_core.yaml b/spec/namespaces/_core.yaml index bdcd0647e..95175a727 100644 --- a/spec/namespaces/_core.yaml +++ b/spec/namespaces/_core.yaml @@ -3334,6 +3334,7 @@ components: Comma-separated list of scroll IDs to clear. To clear all scroll IDs, use `_all`. required: true + deprecated: true schema: $ref: '../schemas/_common.yaml#/components/schemas/ScrollIds' style: simple diff --git a/spec/namespaces/cluster.yaml b/spec/namespaces/cluster.yaml index b380eb8c5..21ab1fe14 100644 --- a/spec/namespaces/cluster.yaml +++ b/spec/namespaces/cluster.yaml @@ -868,11 +868,11 @@ components: in: path name: name description: |- - Name of the component template to retrieve. + Names of the component templates to retrieve. Wildcard (`*`) expressions are supported. required: true schema: - $ref: '../schemas/_common.yaml#/components/schemas/Name' + $ref: '../schemas/_common.yaml#/components/schemas/Names' style: simple cluster.get_component_template::query.cluster_manager_timeout: name: cluster_manager_timeout diff --git a/spec/namespaces/indices.yaml b/spec/namespaces/indices.yaml index 053cf10ae..faf5d0b76 100644 --- a/spec/namespaces/indices.yaml +++ b/spec/namespaces/indices.yaml @@ -2995,7 +2995,7 @@ components: To target all data streams in a cluster, omit this parameter or use `*`. required: true schema: - $ref: '../schemas/_common.yaml#/components/schemas/IndexName' + $ref: '../schemas/_common.yaml#/components/schemas/IndexNames' style: simple indices.delete::path.index: in: path @@ -3727,7 +3727,7 @@ components: description: Name of the index template to retrieve. Wildcard (*) expressions are supported. required: true schema: - $ref: '../schemas/_common.yaml#/components/schemas/Name' + $ref: '../schemas/_common.yaml#/components/schemas/Names' style: simple indices.get_index_template::query.cluster_manager_timeout: name: cluster_manager_timeout diff --git a/spec/schemas/_common.yaml b/spec/schemas/_common.yaml index 451427e29..dca505c47 100644 --- a/spec/schemas/_common.yaml +++ b/spec/schemas/_common.yaml @@ -154,6 +154,12 @@ components: type: string IndexName: type: string + IndexNames: + oneOf: + - $ref: '#/components/schemas/IndexName' + - type: array + items: + $ref: '#/components/schemas/IndexName' Field: description: Path to field or array of paths. Some API's support wildcards in the path to select multiple fields. type: string