Skip to content

Commit 9fd43f8

Browse files
committed
making range aggregation untagged union
1 parent f8b2820 commit 9fd43f8

File tree

7 files changed

+486
-65
lines changed

7 files changed

+486
-65
lines changed

compiler/src/steps/validate-model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ export default async function validateModel (apiModel: model.Model, restSpec: Ma
610610
} else if (variants.kind === 'untagged') {
611611
if (fqn(parentName) !== '_types.query_dsl:DecayFunction' &&
612612
fqn(parentName) !== '_types.query_dsl:DistanceFeatureQuery' &&
613+
fqn(parentName) !== '_types.aggregations:AggregationRange' &&
613614
fqn(parentName) !== '_types.query_dsl:RangeQuery') {
614615
throw new Error(`Please contact the devtools team before adding new untagged variant ${fqn(parentName)}`)
615616
}

output/openapi/elasticsearch-openapi.json

Lines changed: 77 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 77 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)