From 816a2b31ec2e34681e2b3ae5387e90e94dbc2d1d Mon Sep 17 00:00:00 2001 From: Laura Trotta Date: Fri, 27 Sep 2024 14:40:44 +0200 Subject: [PATCH] [881] added missing allow_custom_routing --- output/openapi/elasticsearch-openapi.json | 3 +++ .../openapi/elasticsearch-serverless-openapi.json | 3 +++ output/schema/schema-serverless.json | 13 ++++++++++++- output/schema/schema.json | 13 ++++++++++++- output/typescript/types.ts | 1 + specification/indices/_types/DataStream.ts | 1 + 6 files changed, 32 insertions(+), 2 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index c2fa540081..740697e52f 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -67313,6 +67313,9 @@ "properties": { "hidden": { "type": "boolean" + }, + "allow_custom_routing": { + "type": "boolean" } } }, diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 4b788265c1..da83d801e2 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -45331,6 +45331,9 @@ "properties": { "hidden": { "type": "boolean" + }, + "allow_custom_routing": { + "type": "boolean" } } }, diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 0629fe4f49..2aa3af948f 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -119103,9 +119103,20 @@ "namespace": "_builtins" } } + }, + { + "name": "allow_custom_routing", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } } ], - "specLocation": "indices/_types/DataStream.ts#L159-L161" + "specLocation": "indices/_types/DataStream.ts#L159-L162" }, { "kind": "interface", diff --git a/output/schema/schema.json b/output/schema/schema.json index 844e8996d6..a2dc95aab9 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -122667,9 +122667,20 @@ "namespace": "_builtins" } } + }, + { + "name": "allow_custom_routing", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } } ], - "specLocation": "indices/_types/DataStream.ts#L159-L161" + "specLocation": "indices/_types/DataStream.ts#L159-L162" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 8d203148b0..49c1ae54b9 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -10912,6 +10912,7 @@ export interface IndicesDataStreamTimestampField { export interface IndicesDataStreamVisibility { hidden?: boolean + allow_custom_routing?: boolean } export interface IndicesDownsampleConfig { diff --git a/specification/indices/_types/DataStream.ts b/specification/indices/_types/DataStream.ts index 73c47d95c6..b416ef5383 100644 --- a/specification/indices/_types/DataStream.ts +++ b/specification/indices/_types/DataStream.ts @@ -158,4 +158,5 @@ export class DataStreamIndex { export class DataStreamVisibility { hidden?: boolean + allow_custom_routing?: boolean }