From d25459f77255bd5b6989409e358d026b58dd2f4d Mon Sep 17 00:00:00 2001 From: Sai Medhini Reddy Maryada <117196660+saimedhi@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:12:07 -0700 Subject: [PATCH] Type Fixes and Deprecations (#370) Signed-off-by: saimedhi --- spec/namespaces/_core.yaml | 1 + spec/namespaces/indices.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/namespaces/_core.yaml b/spec/namespaces/_core.yaml index 7ef15a002..3e8404ba5 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/indices.yaml b/spec/namespaces/indices.yaml index 95451e208..9c524871c 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/Indices' style: simple indices.delete::path.index: in: path