From 208bfbfca389eeb8269089e38c6eeef34bebd872 Mon Sep 17 00:00:00 2001 From: pquentin <42327+pquentin@users.noreply.github.com> Date: Fri, 22 Aug 2025 04:06:33 +0000 Subject: [PATCH] Update rest-api-spec --- output/openapi/elasticsearch-openapi.json | 3 +++ .../openapi/elasticsearch-serverless-openapi.json | 3 +++ output/schema/schema.json | 14 +++++++++++++- output/typescript/types.ts | 1 + 4 files changed, 20 insertions(+), 1 deletion(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index ed2c7604cf..9e95e0a906 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -9551,6 +9551,9 @@ }, "slice": { "$ref": "#/components/schemas/_types.SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types.Sort" } } }, diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 5c76831400..a93f8ee1b8 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -5225,6 +5225,9 @@ }, "slice": { "$ref": "#/components/schemas/_types.SlicedScroll" + }, + "sort": { + "$ref": "#/components/schemas/_types.Sort" } } }, diff --git a/output/schema/schema.json b/output/schema/schema.json index 2075b1f471..d5af95032f 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -26195,6 +26195,18 @@ "namespace": "_types" } } + }, + { + "description": "A sort object that specifies the order of deleted documents.", + "name": "sort", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Sort", + "namespace": "_types" + } + } } ] }, @@ -26726,7 +26738,7 @@ } } ], - "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L36-L314" + "specLocation": "_global/delete_by_query/DeleteByQueryRequest.ts#L37-L319" }, { "kind": "response", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 2b3dd1021c..94f0444abf 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -224,6 +224,7 @@ export interface DeleteByQueryRequest extends RequestBase { max_docs?: long query?: QueryDslQueryContainer slice?: SlicedScroll + sort?: Sort } }