From 93fa60b60146d342d335081b9707ed97d99c9861 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Sun, 16 Oct 2016 17:58:39 +0200 Subject: [PATCH] Made REST spec param types consistent duration -> time Original commit: elastic/x-pack-elasticsearch@ca34bd2bdcb18e62cc965212a2c7d79caa464ad7 --- .../src/test/resources/rest-api-spec/api/xpack.usage.json | 2 +- .../resources/rest-api-spec/api/xpack.watcher.ack_watch.json | 2 +- .../rest-api-spec/api/xpack.watcher.activate_watch.json | 2 +- .../rest-api-spec/api/xpack.watcher.deactivate_watch.json | 2 +- .../resources/rest-api-spec/api/xpack.watcher.delete_watch.json | 2 +- .../resources/rest-api-spec/api/xpack.watcher.put_watch.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) 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": {