diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 7d01617425..3b5faa276b 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -163,13 +163,6 @@ ], "response": [] }, - "create": { - "request": [ - "Request: query parameter 'require_alias' does not exist in the json spec", - "Request: query parameter 'require_data_stream' does not exist in the json spec" - ], - "response": [] - }, "esql.async_query_get": { "request": [ "Request: query parameter 'format' does not exist in the json spec" @@ -262,24 +255,12 @@ ], "response": [] }, - "reindex": { - "request": [ - "Request: query parameter 'require_alias' does not exist in the json spec" - ], - "response": [] - }, "searchable_snapshots.clear_cache": { "request": [ "Request: missing json spec query parameter 'index'" ], "response": [] }, - "snapshot.repository_analyze": { - "request": [ - "Request: query parameter 'register_operation_count' does not exist in the json spec" - ], - "response": [] - }, "xpack.info": { "request": [ "request definition xpack.info:Request / query - Property 'human' is already defined in an ancestor class" diff --git a/specification/_json_spec/create.json b/specification/_json_spec/create.json index ffa5e0f26e..03038a9366 100644 --- a/specification/_json_spec/create.json +++ b/specification/_json_spec/create.json @@ -62,6 +62,14 @@ "include_source_on_error": { "type": "boolean", "description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true." + }, + "require_alias": { + "type": "boolean", + "description": "When true, requires destination to be an alias. Default is false" + }, + "require_data_stream": { + "type": "boolean", + "description": "When true, requires destination to be a data stream (existing or to be created). Default is false" } }, "body": { diff --git a/specification/_json_spec/reindex.json b/specification/_json_spec/reindex.json index 097d1e9c04..4ab3cd6254 100644 --- a/specification/_json_spec/reindex.json +++ b/specification/_json_spec/reindex.json @@ -55,6 +55,11 @@ "max_docs": { "type": "number", "description": "Maximum number of documents to process (default: all documents)" + }, + "require_alias": { + "type": "boolean", + "default": false, + "description": "When true, requires destination to be an alias." } }, "body": { diff --git a/specification/_json_spec/snapshot.repository_analyze.json b/specification/_json_spec/snapshot.repository_analyze.json index d80c4bc122..2967e427be 100644 --- a/specification/_json_spec/snapshot.repository_analyze.json +++ b/specification/_json_spec/snapshot.repository_analyze.json @@ -32,6 +32,10 @@ "type": "number", "description": "Number of operations to run concurrently during the test. Defaults to 10." }, + "register_operation_count": { + "type": "number", + "description": "The minimum number of linearizable register operations to perform in total. Defaults to 10." + }, "read_node_count": { "type": "number", "description": "Number of nodes on which to read a blob after writing. Defaults to 10."