Skip to content

Commit ee2a45b

Browse files
committed
fix required properties of multipleBatch
1 parent 1b5467d commit ee2a45b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

specs/search/paths/objects/multipleBatch.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ post:
2929
indexName:
3030
type: string
3131
description: Index to target for this operation.
32+
required:
33+
- action
34+
- body
35+
- indexName
36+
required:
37+
- requests
3238
responses:
3339
'200':
3440
description: OK
@@ -42,8 +48,13 @@ post:
4248
taskID:
4349
type: object
4450
description: List of tasksIDs per index.
51+
additionalProperties:
52+
$ref: '../../../common/responses/common.yml#/taskID'
4553
objectIDs:
4654
$ref: '../../../common/responses/common.yml#/objectIDs'
55+
required:
56+
- taskID
57+
- objectIDs
4758
'400':
4859
$ref: '../../../common/responses/BadRequest.yml'
4960
'402':

0 commit comments

Comments
 (0)