Skip to content

Commit

Permalink
Made NestedAggregate inherit from AggregateBase instead of SingleBuck…
Browse files Browse the repository at this point in the history
…etAggregateBase to resolve `doc_count` requirement conflict (#632)

Signed-off-by: Theo Truong <[email protected]>
  • Loading branch information
nhtruong authored Oct 21, 2024
1 parent e95e7d3 commit 56081a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/schemas/_common.aggregations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ components:
- doc_count
NestedAggregate:
allOf:
- $ref: '#/components/schemas/SingleBucketAggregateBase'
- $ref: '#/components/schemas/AggregateBase'
- type: object
properties:
doc_count:
Expand Down

0 comments on commit 56081a4

Please sign in to comment.