diff --git a/elasticsearch/src/test/resources/rest-api-spec/api/xpack.usage.json b/elasticsearch/src/test/resources/rest-api-spec/api/xpack.usage.json index 81a6204a4f0..8476c1f06d6 100644 --- a/elasticsearch/src/test/resources/rest-api-spec/api/xpack.usage.json +++ b/elasticsearch/src/test/resources/rest-api-spec/api/xpack.usage.json @@ -8,7 +8,7 @@ "parts": {}, "params": { "master_timeout": { - "type": "duration", + "type": "time", "description": "Specify timeout for watch write operation" } } diff --git a/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.ack_watch.json b/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.ack_watch.json index 9eb34ee1aa7..7ad117dc508 100644 --- a/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.ack_watch.json +++ b/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.ack_watch.json @@ -18,7 +18,7 @@ }, "params": { "master_timeout": { - "type": "duration", + "type": "time", "description": "Explicit operation timeout for connection to master node" } } diff --git a/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.activate_watch.json b/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.activate_watch.json index a9a7e2d6cdd..7aec075c6e0 100644 --- a/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.activate_watch.json +++ b/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.activate_watch.json @@ -14,7 +14,7 @@ }, "params": { "master_timeout": { - "type": "duration", + "type": "time", "description": "Explicit operation timeout for connection to master node" } } diff --git a/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.deactivate_watch.json b/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.deactivate_watch.json index 424e0f0f684..0c471821603 100644 --- a/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.deactivate_watch.json +++ b/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.deactivate_watch.json @@ -14,7 +14,7 @@ }, "params": { "master_timeout": { - "type": "duration", + "type": "time", "description": "Explicit operation timeout for connection to master node" } } diff --git a/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.delete_watch.json b/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.delete_watch.json index 2ee5bc3b252..eec1d624d43 100644 --- a/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.delete_watch.json +++ b/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.delete_watch.json @@ -14,7 +14,7 @@ }, "params": { "master_timeout": { - "type": "duration", + "type": "time", "description": "Explicit operation timeout for connection to master node" } } diff --git a/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.put_watch.json b/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.put_watch.json index 722943e70fa..4767d0af121 100644 --- a/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.put_watch.json +++ b/elasticsearch/src/test/resources/rest-api-spec/api/xpack.watcher.put_watch.json @@ -14,7 +14,7 @@ }, "params": { "master_timeout": { - "type": "duration", + "type": "time", "description": "Explicit operation timeout for connection to master node" }, "active": {