diff --git a/output/schema/schema.json b/output/schema/schema.json index d22e6a1fc0..473f7cd921 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -171620,66 +171620,6 @@ ], "specLocation": "nodes/get_repositories_metering_info/GetRepositoriesMeteringInfoResponse.ts#L25-L34" }, - { - "kind": "interface", - "name": { - "name": "HotThread", - "namespace": "nodes.hot_threads" - }, - "properties": [ - { - "name": "hosts", - "required": true, - "type": { - "kind": "array_of", - "value": { - "kind": "instance_of", - "type": { - "name": "Host", - "namespace": "_types" - } - } - } - }, - { - "name": "node_id", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "Id", - "namespace": "_types" - } - } - }, - { - "name": "node_name", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "Name", - "namespace": "_types" - } - } - }, - { - "name": "threads", - "required": true, - "type": { - "kind": "array_of", - "value": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - } - } - ], - "specLocation": "nodes/hot_threads/types.ts#L23-L28" - }, { "attachedBehaviors": [ "CommonQueryParameters" @@ -171823,29 +171763,14 @@ { "body": { "kind": "properties", - "properties": [ - { - "name": "hot_threads", - "required": true, - "type": { - "kind": "array_of", - "value": { - "kind": "instance_of", - "type": { - "name": "HotThread", - "namespace": "nodes.hot_threads" - } - } - } - } - ] + "properties": [] }, "kind": "response", "name": { "name": "Response", "namespace": "nodes.hot_threads" }, - "specLocation": "nodes/hot_threads/NodesHotThreadsResponse.ts#L22-L24" + "specLocation": "nodes/hot_threads/NodesHotThreadsResponse.ts#L20-L22" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index d83c62a59c..383adae0d2 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -16024,13 +16024,6 @@ export interface NodesGetRepositoriesMeteringInfoResponseBase extends NodesNodes nodes: Record } -export interface NodesHotThreadsHotThread { - hosts: Host[] - node_id: Id - node_name: Name - threads: string[] -} - export interface NodesHotThreadsRequest extends RequestBase { node_id?: NodeIds ignore_idle_threads?: boolean @@ -16044,7 +16037,6 @@ export interface NodesHotThreadsRequest extends RequestBase { } export interface NodesHotThreadsResponse { - hot_threads: NodesHotThreadsHotThread[] } export interface NodesInfoDeprecationIndexing { diff --git a/specification/nodes/hot_threads/NodesHotThreadsResponse.ts b/specification/nodes/hot_threads/NodesHotThreadsResponse.ts index af49d1516a..f6511c6303 100644 --- a/specification/nodes/hot_threads/NodesHotThreadsResponse.ts +++ b/specification/nodes/hot_threads/NodesHotThreadsResponse.ts @@ -17,8 +17,6 @@ * under the License. */ -import { HotThread } from './types' - export class Response { - body: { hot_threads: HotThread[] } + body: string } diff --git a/specification/nodes/hot_threads/types.ts b/specification/nodes/hot_threads/types.ts deleted file mode 100644 index 04e1059509..0000000000 --- a/specification/nodes/hot_threads/types.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import { Id, Name } from '@_types/common' -import { Host } from '@_types/Networking' - -export class HotThread { - hosts: Host[] - node_id: Id - node_name: Name - threads: string[] -}