Made REST spec param types consistent

duration -> time

Original commit: elastic/x-pack-elasticsearch@ca34bd2bdc
This commit is contained in:
Clinton Gormley 2016-10-16 17:58:39 +02:00
parent fae2f1a90f
commit 93fa60b601
6 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
"parts": {}, "parts": {},
"params": { "params": {
"master_timeout": { "master_timeout": {
"type": "duration", "type": "time",
"description": "Specify timeout for watch write operation" "description": "Specify timeout for watch write operation"
} }
} }

View File

@ -18,7 +18,7 @@
}, },
"params": { "params": {
"master_timeout": { "master_timeout": {
"type": "duration", "type": "time",
"description": "Explicit operation timeout for connection to master node" "description": "Explicit operation timeout for connection to master node"
} }
} }

View File

@ -14,7 +14,7 @@
}, },
"params": { "params": {
"master_timeout": { "master_timeout": {
"type": "duration", "type": "time",
"description": "Explicit operation timeout for connection to master node" "description": "Explicit operation timeout for connection to master node"
} }
} }

View File

@ -14,7 +14,7 @@
}, },
"params": { "params": {
"master_timeout": { "master_timeout": {
"type": "duration", "type": "time",
"description": "Explicit operation timeout for connection to master node" "description": "Explicit operation timeout for connection to master node"
} }
} }

View File

@ -14,7 +14,7 @@
}, },
"params": { "params": {
"master_timeout": { "master_timeout": {
"type": "duration", "type": "time",
"description": "Explicit operation timeout for connection to master node" "description": "Explicit operation timeout for connection to master node"
} }
} }

View File

@ -14,7 +14,7 @@
}, },
"params": { "params": {
"master_timeout": { "master_timeout": {
"type": "duration", "type": "time",
"description": "Explicit operation timeout for connection to master node" "description": "Explicit operation timeout for connection to master node"
}, },
"active": { "active": {