diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index dcaccc00a5..24a0de39b5 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -77,6 +77,7 @@ "Request: missing json spec query parameter 'help'", "Request: missing json spec query parameter 's'", "Request: missing json spec query parameter 'v'", + "Request: missing json spec query parameter 'master_timeout'", "request definition cat.aliases:Request / body - A request with inherited properties must have a PropertyBody" ], "response": [] @@ -708,12 +709,6 @@ ], "response": [] }, - "indices.exists_alias": { - "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec" - ], - "response": [] - }, "indices.exists_index_template": { "request": [ "Request: missing json spec query parameter 'flat_settings'", @@ -729,12 +724,6 @@ ], "response": [] }, - "indices.get_alias": { - "request": [ - "Request: query parameter 'master_timeout' does not exist in the json spec" - ], - "response": [] - }, "indices.put_settings": { "request": [ "Request: missing json spec query parameter 'reopen'" diff --git a/specification/_json_spec/cat.aliases.json b/specification/_json_spec/cat.aliases.json index 4f8062d899..27e20cf4d8 100644 --- a/specification/_json_spec/cat.aliases.json +++ b/specification/_json_spec/cat.aliases.json @@ -55,6 +55,11 @@ "options": ["open", "closed", "hidden", "none", "all"], "default": "all", "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both." + }, + "master_timeout": { + "type": "time", + "description": "Timeout for waiting for new cluster state in case it is blocked", + "default": "30s" } } } diff --git a/specification/_json_spec/indices.exists_alias.json b/specification/_json_spec/indices.exists_alias.json index bc000bc727..9ad4a93551 100644 --- a/specification/_json_spec/indices.exists_alias.json +++ b/specification/_json_spec/indices.exists_alias.json @@ -51,6 +51,11 @@ "options": ["open", "closed", "hidden", "none", "all"], "default": "all", "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both." + }, + "master_timeout": { + "type": "time", + "description": "Timeout for waiting for new cluster state in case it is blocked", + "default": "30s" } } } diff --git a/specification/_json_spec/indices.get_alias.json b/specification/_json_spec/indices.get_alias.json index 419aa237d0..98b37607ea 100644 --- a/specification/_json_spec/indices.get_alias.json +++ b/specification/_json_spec/indices.get_alias.json @@ -65,6 +65,11 @@ "options": ["open", "closed", "hidden", "none", "all"], "default": "all", "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both." + }, + "master_timeout": { + "type": "time", + "description": "Timeout for waiting for new cluster state in case it is blocked", + "default": "30s" } } }