Skip to content

Commit

Permalink
Fix: wrap indexing errors.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Nov 5, 2024
1 parent 4abc6be commit bc24479
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/namespaces/indices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2404,7 +2404,7 @@ components:
content:
application/json:
schema:
$ref: '../schemas/indices._common.yaml#/components/schemas/IndexErrorCause'
$ref: '../schemas/indices._common.yaml#/components/schemas/IndexError'
indices.delete_alias@200:
content:
application/json:
Expand Down
9 changes: 8 additions & 1 deletion spec/schemas/indices._common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -981,8 +981,15 @@ components:
- aliases
- index_patterns
- mappings
- order
- order0
- settings
IndexError:
type: object
properties:
error:
$ref: '#/components/schemas/IndexErrorCause'
status:
type: number
IndexErrorCause:
type: object
properties:
Expand Down

0 comments on commit bc24479

Please sign in to comment.