Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{
"endpointErrors": {
"indices.recovery": {
"request": [
"Request: missing json spec query parameter 'ignore_unavailable'",
"Request: missing json spec query parameter 'allow_no_indices'",
"Request: missing json spec query parameter 'expand_wildcards'"
],
"response": []
Comment on lines +3 to +9
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be fixed by #4954

},
"msearch": {
"request": [
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
Expand All @@ -10,12 +18,6 @@
"Request: query parameter 'routing' does not exist in the json spec"
],
"response": []
},
"searchable_snapshots.clear_cache": {
"request": [
"Request: missing json spec query parameter 'index'"
],
"response": []
}
},
"generalErrors": []
Expand Down
16 changes: 16 additions & 0 deletions specification/_json_spec/indices.recovery.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,22 @@
"type": "boolean",
"description": "Display only those recoveries that are currently on-going",
"default": false
},
"ignore_unavailable": {
"type": "boolean",
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)",
"default": false
},
"allow_no_indices": {
"type": "boolean",
"description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)",
"default": true
},
"expand_wildcards": {
"type": "enum",
"options": ["open", "closed", "hidden", "none", "all"],
"default": "open",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
"options": ["open", "closed", "none", "all"],
"default": "open",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},
"index": {
"type": "list",
"description": "A comma-separated list of index name to limit the operation"
}
}
}
Expand Down