From 2fe7362f843c05d3971aaeb1582f091e4a9ae0db Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Fri, 4 Jul 2025 22:45:44 +0400 Subject: [PATCH] Fix cluster.put_component_template rest-api-spec (#130634) --- .../rest-api-spec/api/cluster.put_component_template.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json index 4b7b032b43e13..d953f45d17e4e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json @@ -33,9 +33,10 @@ "description":"Whether the index template should only be added if new or can also replace an existing one", "default":false }, - "timeout":{ - "type":"time", - "description":"Explicit operation timeout" + "cause": { + "type": "string", + "description": "User defined reason for create the component template", + "default": "api" }, "master_timeout":{ "type":"time",