diff --git a/spec/schemas/nodes.info.yaml b/spec/schemas/nodes.info.yaml index f687b4523..790842f6f 100644 --- a/spec/schemas/nodes.info.yaml +++ b/spec/schemas/nodes.info.yaml @@ -21,6 +21,7 @@ components: - aggregations - indices - search_pipelines + - _all ResponseBase: allOf: - type: object diff --git a/tests/_core/nodes.yaml b/tests/_core/nodes.yaml index 608232cb3..c03735f19 100644 --- a/tests/_core/nodes.yaml +++ b/tests/_core/nodes.yaml @@ -7,3 +7,36 @@ chapters: method: GET response: status: 200 + - synopsis: Nodes thread_pool metric with a json response. + path: /_nodes/{metric} + method: GET + parameters: + metric: + - thread_pool + response: + status: 200 + - synopsis: Nodes jvm and thread_pool metric with a json response. + path: /_nodes/{metric} + method: GET + parameters: + metric: + - jvm + - thread_pool + response: + status: 200 + - synopsis: Nodes _all metric with a json response. + path: /_nodes/{metric} + method: GET + parameters: + metric: + - _all + response: + status: 200 + - synopsis: Nodes data:true metric with a json response. + path: /_nodes/{metric} + method: GET + parameters: + metric: + - master:true + response: + status: 200 \ No newline at end of file