You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix the type for "slices" in the Delete By Query REST API specification (#51792) (#51793)
The previous patch in c1d9966 incorrectly set the `type` to `number|auto`,
which is incorrect — the "polymorphic" type, denoted with the `|` sign,
should contain only other types, ie. number, string, bool, etc.
Fixes#51535
(cherry picked from commit 68db7fc)
Copy file name to clipboardExpand all lines: rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json
+2-2
Original file line number
Diff line number
Diff line change
@@ -178,9 +178,9 @@
178
178
"description": "The throttle for this request in sub-requests per second. -1 means no throttle."
179
179
},
180
180
"slices": {
181
-
"type": "number|auto",
181
+
"type": "number|string",
182
182
"default": 1,
183
-
"description": "The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks."
183
+
"description": "The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`."
0 commit comments