diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 81c796e0bd..ea702e6e12 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -14354,6 +14354,26 @@ "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" } ], "responses": { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 7fb560f08c..682a5d3080 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -8657,6 +8657,26 @@ "$ref": "#/components/schemas/_types:ExpandWildcards" }, "style": "form" + }, + { + "in": "query", + "name": "ignore_unavailable", + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "in": "query", + "name": "allow_no_indices", + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" } ], "responses": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 3719182113..e1bb4d9c6f 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -23610,9 +23610,35 @@ "namespace": "_types" } } + }, + { + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "name": "ignore_unavailable", + "required": false, + "serverDefault": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, + { + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "name": "allow_no_indices", + "required": false, + "serverDefault": true, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } } ], - "specLocation": "indices/resolve_index/ResolveIndexRequest.ts#L23-L48" + "specLocation": "indices/resolve_index/ResolveIndexRequest.ts#L23-L60" }, { "body": { diff --git a/output/schema/schema.json b/output/schema/schema.json index b7d48b2c94..c162abe023 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -133425,9 +133425,35 @@ "namespace": "_types" } } + }, + { + "description": "If `false`, the request returns an error if it targets a missing or closed index.", + "name": "ignore_unavailable", + "required": false, + "serverDefault": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, + { + "description": "If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.\nThis behavior applies even if the request targets other open indices.\nFor example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.", + "name": "allow_no_indices", + "required": false, + "serverDefault": true, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } } ], - "specLocation": "indices/resolve_index/ResolveIndexRequest.ts#L23-L48" + "specLocation": "indices/resolve_index/ResolveIndexRequest.ts#L23-L60" }, { "kind": "interface", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 081c20aa7b..14c62ed9e7 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -848,6 +848,13 @@ ], "response": [] }, + "indices.resolve_index": { + "request": [ + "Request: query parameter 'ignore_unavailable' does not exist in the json spec", + "Request: query parameter 'allow_no_indices' does not exist in the json spec" + ], + "response": [] + }, "indices.rollover": { "request": [ "Request: missing json spec query parameter 'lazy'", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 7d6d28b4f5..941e0b1afc 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -12038,6 +12038,8 @@ export type IndicesResolveClusterResponse = Record