From ed20345e5bb46157e14b690c73772cd46058f908 Mon Sep 17 00:00:00 2001 From: pquentin <42327+pquentin@users.noreply.github.com> Date: Fri, 18 Jul 2025 17:43:52 +0000 Subject: [PATCH] Update rest-api-spec --- output/schema/validation-errors.json | 8 -------- specification/_json_spec/indices.recovery.json | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index a1cd183b1b..42b7869fdd 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -210,14 +210,6 @@ ], "response": [] }, - "indices.recovery": { - "request": [ - "Request: query parameter 'allow_no_indices' does not exist in the json spec", - "Request: query parameter 'expand_wildcards' does not exist in the json spec", - "Request: query parameter 'ignore_unavailable' does not exist in the json spec" - ], - "response": [] - }, "ingest.delete_geoip_database": { "request": [ "Request: query parameter 'master_timeout' does not exist in the json spec", diff --git a/specification/_json_spec/indices.recovery.json b/specification/_json_spec/indices.recovery.json index ada2fcb075..f3a858647c 100644 --- a/specification/_json_spec/indices.recovery.json +++ b/specification/_json_spec/indices.recovery.json @@ -37,6 +37,22 @@ "type": "boolean", "description": "Display only those recoveries that are currently on-going", "default": false + }, + "ignore_unavailable": { + "type": "boolean", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "default": false + }, + "allow_no_indices": { + "type": "boolean", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", + "default": true + }, + "expand_wildcards": { + "type": "enum", + "options": ["open", "closed", "hidden", "none", "all"], + "default": "open", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both." } } }