diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index b1c79962ec..b17422dfd5 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -17,12 +17,6 @@ ], "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'" 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": {