From 6c5cc3a7635616deab7fc9dce550ff35f7810fc8 Mon Sep 17 00:00:00 2001 From: Laura Trotta Date: Wed, 9 Oct 2024 15:30:26 +0200 Subject: [PATCH] http can be null if sec disabled --- output/openapi/elasticsearch-openapi.json | 1 - output/schema/schema.json | 2 +- output/typescript/types.ts | 2 +- specification/nodes/info/types.ts | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 96bdb9f7af..96eebc4d38 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -77834,7 +77834,6 @@ } }, "required": [ - "http", "enabled" ] }, diff --git a/output/schema/schema.json b/output/schema/schema.json index 8397d31c40..b2958170f7 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -179797,7 +179797,7 @@ "properties": [ { "name": "http", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 7d8c4a9bcb..82054de6d6 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -16899,7 +16899,7 @@ export interface NodesInfoNodeInfoXpackLicenseType { } export interface NodesInfoNodeInfoXpackSecurity { - http: NodesInfoNodeInfoXpackSecuritySsl + http?: NodesInfoNodeInfoXpackSecuritySsl enabled: string transport?: NodesInfoNodeInfoXpackSecuritySsl authc?: NodesInfoNodeInfoXpackSecurityAuthc diff --git a/specification/nodes/info/types.ts b/specification/nodes/info/types.ts index ac103115f1..0657259696 100644 --- a/specification/nodes/info/types.ts +++ b/specification/nodes/info/types.ts @@ -243,7 +243,7 @@ export class NodeInfoXpack { } export class NodeInfoXpackSecurity { - http: NodeInfoXpackSecuritySsl + http?: NodeInfoXpackSecuritySsl enabled: string transport?: NodeInfoXpackSecuritySsl authc?: NodeInfoXpackSecurityAuthc