Skip to content

Commit b850c82

Browse files
authored
rest-api-spec: fix more default values (#137557)
1 parent 5f20603 commit b850c82

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,17 @@
9696
},
9797
"ignore_unavailable": {
9898
"type": "boolean",
99+
"default": false,
99100
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed). Only allowed when providing an index expression."
100101
},
101102
"ignore_throttled": {
102103
"type": "boolean",
104+
"default": false,
103105
"description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled. Only allowed when providing an index expression."
104106
},
105107
"allow_no_indices": {
106108
"type": "boolean",
109+
"default": true,
107110
"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). Only allowed when providing an index expression."
108111
},
109112
"expand_wildcards": {

rest-api-spec/src/main/resources/rest-api-spec/api/indices.resolve_index.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
"logsdb",
5959
"lookup"
6060
],
61-
"default": "",
6261
"description": "Filter indices by index mode. Comma-separated list of IndexMode. Empty means no filter."
6362
},
6463
"project_routing": {

0 commit comments

Comments
 (0)