Skip to content

Commit

Permalink
remove extra free-format object in create/index/delete operation from…
Browse files Browse the repository at this point in the history
… bulk api

Signed-off-by: amberzsy <xxamber998@gmail.com>
  • Loading branch information
amberzsy committed Sep 16, 2024
1 parent c2c666f commit ccc3519
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions spec/schemas/_core.bulk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ components:
minProperties: 1
maxProperties: 1
IndexOperation:
allOf:
- $ref: '#/components/schemas/WriteOperation'
- type: object
$ref: '#/components/schemas/WriteOperation'
WriteOperation:
allOf:
- $ref: '#/components/schemas/OperationBase'
Expand Down Expand Up @@ -64,9 +62,7 @@ components:
version_type:
$ref: '_common.yaml#/components/schemas/VersionType'
CreateOperation:
allOf:
- $ref: '#/components/schemas/WriteOperation'
- type: object
$ref: '#/components/schemas/WriteOperation'
UpdateOperation:
allOf:
- $ref: '#/components/schemas/OperationBase'
Expand All @@ -78,9 +74,7 @@ components:
retry_on_conflict:
type: number
DeleteOperation:
allOf:
- $ref: '#/components/schemas/OperationBase'
- type: object
$ref: '#/components/schemas/OperationBase'
UpdateAction:
type: object
properties:
Expand Down

0 comments on commit ccc3519

Please sign in to comment.