diff --git a/output/schema/schema.json b/output/schema/schema.json index 612b71d14f..0b195336e4 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -124486,7 +124486,7 @@ "properties": [ { "name": "current_watches", - "required": true, + "required": false, "type": { "kind": "array_of", "value": { @@ -124511,7 +124511,7 @@ }, { "name": "queued_watches", - "required": true, + "required": false, "type": { "kind": "array_of", "value": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 117068c7be..c446ae635b 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -13096,9 +13096,9 @@ export interface WatcherActionsUsage { } export interface WatcherNodeStats { - current_watches: Array + current_watches?: Array execution_thread_pool: ExecutionThreadPool - queued_watches: Array + queued_watches?: Array watch_count: long watcher_state: WatcherState node_id: Id diff --git a/specification/specs/x_pack/watcher/watcher_stats/WatcherNodeStats.ts b/specification/specs/x_pack/watcher/watcher_stats/WatcherNodeStats.ts index fee4c3d2d6..9225847c4b 100644 --- a/specification/specs/x_pack/watcher/watcher_stats/WatcherNodeStats.ts +++ b/specification/specs/x_pack/watcher/watcher_stats/WatcherNodeStats.ts @@ -18,9 +18,9 @@ */ class WatcherNodeStats { - current_watches: WatchRecordStats[] + current_watches?: WatchRecordStats[] execution_thread_pool: ExecutionThreadPool - queued_watches: WatchRecordQueuedStats[] + queued_watches?: WatchRecordQueuedStats[] watch_count: long watcher_state: WatcherState node_id: Id