From c795a05b581c57925db25110ab45d0bd54bd854f Mon Sep 17 00:00:00 2001 From: Laura Date: Fri, 2 Feb 2024 15:52:59 +0100 Subject: [PATCH] making node info path optional (issue #242) --- output/openapi/elasticsearch-serverless-openapi.json | 4 ++++ output/schema/schema.json | 8 ++++---- output/typescript/types.ts | 8 ++++---- specification/nodes/info/types.ts | 8 ++++---- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index be4b736b06..c6c82f15a0 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -49346,6 +49346,10 @@ "target_field": { "$ref": "#/components/schemas/_types:Field" }, + "remove_binary": { + "description": "If true, the binary field will be removed from the document", + "type": "boolean" + }, "resource_name": { "description": "Field containing the name of the resource to decode.\nIf specified, the processor passes this resource name to the underlying Tika library to enable Resource Name Based Detection.", "type": "string" diff --git a/output/schema/schema.json b/output/schema/schema.json index 3bc3280ac4..e87e3c26c4 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -164767,7 +164767,7 @@ "properties": [ { "name": "logs", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -164778,7 +164778,7 @@ }, { "name": "home", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -164789,7 +164789,7 @@ }, { "name": "repo", - "required": true, + "required": false, "type": { "kind": "array_of", "value": { @@ -164965,7 +164965,7 @@ }, { "name": "path", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 5a3e1f5ac2..3abb7515dc 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -15357,9 +15357,9 @@ export interface NodesInfoNodeInfoOSCPU { } export interface NodesInfoNodeInfoPath { - logs: string - home: string - repo: string[] + logs?: string + home?: string + repo?: string[] data?: string[] } @@ -15387,7 +15387,7 @@ export interface NodesInfoNodeInfoSearchRemote { export interface NodesInfoNodeInfoSettings { cluster: NodesInfoNodeInfoSettingsCluster node: NodesInfoNodeInfoSettingsNode - path: NodesInfoNodeInfoPath + path?: NodesInfoNodeInfoPath repositories?: NodesInfoNodeInfoRepositories discovery?: NodesInfoNodeInfoDiscover action?: NodesInfoNodeInfoAction diff --git a/specification/nodes/info/types.ts b/specification/nodes/info/types.ts index c9155a3049..c152a64658 100644 --- a/specification/nodes/info/types.ts +++ b/specification/nodes/info/types.ts @@ -68,7 +68,7 @@ export class NodeInfo { export class NodeInfoSettings { cluster: NodeInfoSettingsCluster node: NodeInfoSettingsNode - path: NodeInfoPath + path?: NodeInfoPath repositories?: NodeInfoRepositories discovery?: NodeInfoDiscover action?: NodeInfoAction @@ -155,9 +155,9 @@ export class NodeInfoSettingsNode { } export class NodeInfoPath { - logs: string - home: string - repo: string[] + logs?: string + home?: string + repo?: string[] data?: string[] }