diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 2801160881..846b23d746 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -56465,14 +56465,10 @@ "additionalProperties": { "$ref": "#/components/schemas/_types:FieldValue" } - }, - "doc_count": { - "type": "number" } }, "required": [ - "key", - "doc_count" + "key" ] } ] diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 7e2eea65f4..c8d5f984e2 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -32779,14 +32779,10 @@ "additionalProperties": { "$ref": "#/components/schemas/_types:FieldValue" } - }, - "doc_count": { - "type": "number" } }, "required": [ - "key", - "doc_count" + "key" ] } ] diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index c37bbe4bc3..d717dca62c 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -70987,7 +70987,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L792-L793", + "specLocation": "_types/aggregations/Aggregate.ts#L791-L792", "variantName": "children" }, { @@ -71006,7 +71006,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L795-L796", + "specLocation": "_types/aggregations/Aggregate.ts#L794-L795", "variantName": "parent" }, { @@ -71518,7 +71518,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L662-L665", + "specLocation": "_types/aggregations/Aggregate.ts#L661-L664", "variantName": "scripted_metric" }, { @@ -71551,7 +71551,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L667-L670", + "specLocation": "_types/aggregations/Aggregate.ts#L666-L669", "variantName": "top_hits" }, { @@ -71645,7 +71645,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L672-L686", + "specLocation": "_types/aggregations/Aggregate.ts#L671-L685", "variantName": "inference" }, { @@ -71692,7 +71692,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L694-L698" + "specLocation": "_types/aggregations/Aggregate.ts#L693-L697" }, { "kind": "interface", @@ -71724,7 +71724,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L700-L703" + "specLocation": "_types/aggregations/Aggregate.ts#L699-L702" }, { "kind": "interface", @@ -71767,7 +71767,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L688-L692" + "specLocation": "_types/aggregations/Aggregate.ts#L687-L691" }, { "inherits": { @@ -71953,7 +71953,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L709-L720", + "specLocation": "_types/aggregations/Aggregate.ts#L708-L719", "variantName": "string_stats" }, { @@ -72124,7 +72124,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L722-L738", + "specLocation": "_types/aggregations/Aggregate.ts#L721-L737", "variantName": "boxplot" }, { @@ -72155,7 +72155,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L740-L743", + "specLocation": "_types/aggregations/Aggregate.ts#L739-L742", "variantName": "top_metrics" }, { @@ -72226,7 +72226,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L745-L749" + "specLocation": "_types/aggregations/Aggregate.ts#L744-L748" }, { "inherits": { @@ -72276,7 +72276,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L751-L755", + "specLocation": "_types/aggregations/Aggregate.ts#L750-L754", "variantName": "t_test" }, { @@ -72315,7 +72315,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L757-L761", + "specLocation": "_types/aggregations/Aggregate.ts#L756-L760", "variantName": "rate" }, { @@ -72355,7 +72355,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L763-L771", + "specLocation": "_types/aggregations/Aggregate.ts#L762-L770", "variantName": "simple_long_value" }, { @@ -72397,7 +72397,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L773-L777", + "specLocation": "_types/aggregations/Aggregate.ts#L772-L776", "variantName": "matrix_stats" }, { @@ -72518,7 +72518,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L779-L788" + "specLocation": "_types/aggregations/Aggregate.ts#L778-L787" }, { "inherits": { @@ -72563,7 +72563,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L800-L807", + "specLocation": "_types/aggregations/Aggregate.ts#L799-L806", "variantName": "geo_line" }, { diff --git a/output/schema/schema.json b/output/schema/schema.json index aa5fc4404a..778bc50378 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -51923,7 +51923,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L722-L738", + "specLocation": "_types/aggregations/Aggregate.ts#L721-L737", "variantName": "boxplot" }, { @@ -52839,7 +52839,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L792-L793", + "specLocation": "_types/aggregations/Aggregate.ts#L791-L792", "variantName": "children" }, { @@ -53356,7 +53356,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L763-L771", + "specLocation": "_types/aggregations/Aggregate.ts#L762-L770", "variantName": "simple_long_value" }, { @@ -55420,7 +55420,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L800-L807", + "specLocation": "_types/aggregations/Aggregate.ts#L799-L806", "variantName": "geo_line" }, { @@ -56378,7 +56378,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L672-L686", + "specLocation": "_types/aggregations/Aggregate.ts#L671-L685", "variantName": "inference" }, { @@ -56451,7 +56451,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L700-L703" + "specLocation": "_types/aggregations/Aggregate.ts#L699-L702" }, { "kind": "interface", @@ -56534,7 +56534,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L694-L698" + "specLocation": "_types/aggregations/Aggregate.ts#L693-L697" }, { "kind": "interface", @@ -56577,7 +56577,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L688-L692" + "specLocation": "_types/aggregations/Aggregate.ts#L687-L691" }, { "kind": "interface", @@ -57252,7 +57252,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L773-L777", + "specLocation": "_types/aggregations/Aggregate.ts#L772-L776", "variantName": "matrix_stats" }, { @@ -57402,7 +57402,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L779-L788" + "specLocation": "_types/aggregations/Aggregate.ts#L778-L787" }, { "kind": "interface", @@ -58427,7 +58427,7 @@ "namespace": "_types.aggregations" }, "properties": [], - "specLocation": "_types/aggregations/Aggregate.ts#L795-L796", + "specLocation": "_types/aggregations/Aggregate.ts#L794-L795", "variantName": "parent" }, { @@ -59092,7 +59092,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L757-L761", + "specLocation": "_types/aggregations/Aggregate.ts#L756-L760", "variantName": "rate" }, { @@ -59313,7 +59313,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L662-L665", + "specLocation": "_types/aggregations/Aggregate.ts#L661-L664", "variantName": "scripted_metric" }, { @@ -60884,7 +60884,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L709-L720", + "specLocation": "_types/aggregations/Aggregate.ts#L708-L719", "variantName": "string_stats" }, { @@ -61121,7 +61121,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L751-L755", + "specLocation": "_types/aggregations/Aggregate.ts#L750-L754", "variantName": "t_test" }, { @@ -61798,20 +61798,9 @@ } } } - }, - { - "name": "doc_count", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "long", - "namespace": "_types" - } - } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L655-L658" + "specLocation": "_types/aggregations/Aggregate.ts#L655-L657" }, { "kind": "interface", @@ -61843,7 +61832,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L667-L670", + "specLocation": "_types/aggregations/Aggregate.ts#L666-L669", "variantName": "top_hits" }, { @@ -62108,7 +62097,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L745-L749" + "specLocation": "_types/aggregations/Aggregate.ts#L744-L748" }, { "kind": "interface", @@ -62138,7 +62127,7 @@ } } ], - "specLocation": "_types/aggregations/Aggregate.ts#L740-L743", + "specLocation": "_types/aggregations/Aggregate.ts#L739-L742", "variantName": "top_metrics" }, { diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index d9e6c6d835..14c62ed9e7 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -43,7 +43,6 @@ "type_alias definition _types.aggregations:Buckets / union_of / dictionary_of / instance_of - No type definition for '_types.aggregations.Buckets:TBucket'", "type_alias definition _types.aggregations:Buckets / union_of / array_of / instance_of - No type definition for '_types.aggregations.Buckets:TBucket'", "type_alias definition _spec_utils:Void / instance_of - No type definition for '_builtins:void'", - "interface definition _types.aggregations:TimeSeriesBucket - Property 'doc_count' is already defined in an ancestor class", "type_alias definition _types:DurationValue / instance_of - No type definition for '_types.DurationValue:Unit'", "type_alias definition _global.search._types:Suggest - A tagged union should not have generic parameters", "type_alias definition _global.search._types:Suggest / instance_of / Generics / instance_of - No type definition for '_global.search._types.Suggest:TDocument'", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 21d47f1222..8a152dcd17 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -4225,7 +4225,6 @@ export interface AggregationsTimeSeriesAggregation extends AggregationsBucketAgg export interface AggregationsTimeSeriesBucketKeys extends AggregationsMultiBucketBase { key: Record - doc_count: long } export type AggregationsTimeSeriesBucket = AggregationsTimeSeriesBucketKeys & { [property: string]: AggregationsAggregate | Record | long } diff --git a/specification/_types/aggregations/Aggregate.ts b/specification/_types/aggregations/Aggregate.ts index 96670b73e4..36460d0540 100644 --- a/specification/_types/aggregations/Aggregate.ts +++ b/specification/_types/aggregations/Aggregate.ts @@ -654,7 +654,6 @@ export class TimeSeriesAggregate extends MultiBucketAggregateBase - doc_count: long } //----- Misc