Skip to content

Commit 9cb295e

Browse files
Update rest-api-spec (#4942)
Co-authored-by: pquentin <42327+pquentin@users.noreply.github.com>
1 parent 1056b45 commit 9cb295e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

output/schema/validation-errors.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,6 @@
255255
],
256256
"response": []
257257
},
258-
"reindex": {
259-
"request": [
260-
"Request: query parameter 'require_alias' does not exist in the json spec"
261-
],
262-
"response": []
263-
},
264258
"searchable_snapshots.clear_cache": {
265259
"request": [
266260
"Request: missing json spec query parameter 'index'"

specification/_json_spec/reindex.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
"max_docs": {
5656
"type": "number",
5757
"description": "Maximum number of documents to process (default: all documents)"
58+
},
59+
"require_alias": {
60+
"type": "boolean",
61+
"default": false,
62+
"description": "When true, requires destination to be an alias."
5863
}
5964
},
6065
"body": {

0 commit comments

Comments
 (0)