The previous patch in c1d9966d35d 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 68db7fc611622ca0e418f454249e376e01f80587)
This commit is contained in:
parent
050c4d4c89
commit
493f77d076
|
@ -178,9 +178,9 @@
|
|||
"description": "The throttle for this request in sub-requests per second. -1 means no throttle."
|
||||
},
|
||||
"slices": {
|
||||
"type": "number|auto",
|
||||
"type": "number|string",
|
||||
"default": 1,
|
||||
"description": "The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks."
|
||||
"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`."
|
||||
}
|
||||
},
|
||||
"body":{
|
||||
|
|
Loading…
Reference in New Issue