From d7c6b0c6256a3b648edf67cd92e0de3a0525f832 Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Tue, 18 Jun 2024 10:43:38 +0200 Subject: [PATCH] Add generated schema --- compiler/src/model/json-spec.ts | 5 +- output/schema/schema.json | 308 +++++++++++++-------------- output/schema/validation-errors.json | 20 +- 3 files changed, 167 insertions(+), 166 deletions(-) diff --git a/compiler/src/model/json-spec.ts b/compiler/src/model/json-spec.ts index 0c45068aa6..491321b5ec 100644 --- a/compiler/src/model/json-spec.ts +++ b/compiler/src/model/json-spec.ts @@ -67,12 +67,13 @@ export default function buildJsonSpec (): Map { const files = readdirSync(jsonSpecPath) .filter(file => file.endsWith('.json')) - const map = new Map() + const map: Map = new Map() for (const file of files) { const json = require(join(jsonSpecPath, file)) const name = Object.keys(json)[0] map.set(name, json[name]) } - return map + // Ensure deterministic ordering + return new Map([...map.entries()].sort((a, b) => a[0].localeCompare(b[0]))) } diff --git a/output/schema/schema.json b/output/schema/schema.json index ea00453bb3..f8bfffb1d2 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -20916,14 +20916,14 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.bulk" + "namespace": "_global.bulk.Request" } }, { "kind": "instance_of", "type": { "name": "TPartialDocument", - "namespace": "_global.bulk" + "namespace": "_global.bulk.Request" } } ], @@ -20937,7 +20937,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.bulk" + "namespace": "_global.bulk.Request" } } ], @@ -20949,11 +20949,11 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.bulk" + "namespace": "_global.bulk.Request" }, { "name": "TPartialDocument", - "namespace": "_global.bulk" + "namespace": "_global.bulk.Request" } ], "inherits": { @@ -21340,11 +21340,11 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.bulk" + "namespace": "_global.bulk.UpdateAction" }, { "name": "TPartialDocument", - "namespace": "_global.bulk" + "namespace": "_global.bulk.UpdateAction" } ], "kind": "interface", @@ -21374,7 +21374,7 @@ "kind": "instance_of", "type": { "name": "TPartialDocument", - "namespace": "_global.bulk" + "namespace": "_global.bulk.UpdateAction" } } }, @@ -21437,7 +21437,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.bulk" + "namespace": "_global.bulk.UpdateAction" } } } @@ -22044,7 +22044,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.create" + "namespace": "_global.create.Request" } } }, @@ -22052,7 +22052,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.create" + "namespace": "_global.create.Request" } ], "inherits": { @@ -23925,7 +23925,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.explain" + "namespace": "_global.explain.Response" } } ], @@ -23941,7 +23941,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.explain" + "namespace": "_global.explain.Response" } ], "kind": "response", @@ -24433,7 +24433,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.get" + "namespace": "_global.get.GetResult" } ], "kind": "interface", @@ -24533,7 +24533,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.get" + "namespace": "_global.get.GetResult" } } }, @@ -24755,7 +24755,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.get" + "namespace": "_global.get.Response" } } ], @@ -24778,7 +24778,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.get" + "namespace": "_global.get.Response" } } ], @@ -24807,7 +24807,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.get" + "namespace": "_global.get.Response" } ], "kind": "response", @@ -25354,14 +25354,14 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.get_source" + "namespace": "_global.get_source.Response" } } }, "generics": [ { "name": "TDocument", - "namespace": "_global.get_source" + "namespace": "_global.get_source.Response" } ], "kind": "response", @@ -26697,7 +26697,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.index" + "namespace": "_global.index.Request" } } }, @@ -26705,7 +26705,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.index" + "namespace": "_global.index.Request" } ], "inherits": { @@ -27195,7 +27195,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.knn_search" + "namespace": "_global.knn_search.Response" } } ], @@ -27242,7 +27242,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.knn_search" + "namespace": "_global.knn_search.Response" } ], "kind": "response", @@ -27651,7 +27651,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.mget" + "namespace": "_global.mget.Response" } } ], @@ -27668,7 +27668,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.mget" + "namespace": "_global.mget.Response" } ], "kind": "response", @@ -27686,7 +27686,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.mget" + "namespace": "_global.mget.ResponseItem" } ], "kind": "type_alias", @@ -27703,7 +27703,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.mget" + "namespace": "_global.mget.ResponseItem" } } ], @@ -27728,7 +27728,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.msearch" + "namespace": "_global.msearch.MultiSearchItem" } ], "inherits": { @@ -27737,7 +27737,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.msearch" + "namespace": "_global.msearch.MultiSearchItem" } } ], @@ -27770,7 +27770,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.msearch" + "namespace": "_global.msearch.MultiSearchResult" } ], "kind": "interface", @@ -27801,7 +27801,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.msearch" + "namespace": "_global.msearch.MultiSearchResult" } } ], @@ -28660,7 +28660,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.msearch" + "namespace": "_global.msearch.Response" } } ], @@ -28674,7 +28674,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.msearch" + "namespace": "_global.msearch.Response" } ], "kind": "response", @@ -28692,7 +28692,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.msearch" + "namespace": "_global.msearch.ResponseItem" } ], "kind": "type_alias", @@ -28709,7 +28709,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.msearch" + "namespace": "_global.msearch.ResponseItem" } } ], @@ -28881,7 +28881,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.msearch_template" + "namespace": "_global.msearch_template.Response" } } ], @@ -28895,7 +28895,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.msearch_template" + "namespace": "_global.msearch_template.Response" } ], "kind": "response", @@ -31913,7 +31913,7 @@ "kind": "instance_of", "type": { "name": "TResult", - "namespace": "_global.scripts_painless_execute" + "namespace": "_global.scripts_painless_execute.Response" } } } @@ -31922,7 +31922,7 @@ "generics": [ { "name": "TResult", - "namespace": "_global.scripts_painless_execute" + "namespace": "_global.scripts_painless_execute.Response" } ], "kind": "response", @@ -32055,7 +32055,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.scroll" + "namespace": "_global.scroll.Response" } } ], @@ -32069,7 +32069,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.scroll" + "namespace": "_global.scroll.Response" } ], "kind": "response", @@ -33232,7 +33232,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.search" + "namespace": "_global.search.Response" } } ], @@ -33246,7 +33246,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.search" + "namespace": "_global.search.Response" } ], "kind": "response", @@ -33260,7 +33260,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.search" + "namespace": "_global.search.ResponseBody" } ], "kind": "interface", @@ -33311,7 +33311,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.search" + "namespace": "_global.search.ResponseBody" } } ], @@ -33449,7 +33449,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.search" + "namespace": "_global.search.ResponseBody" } } ], @@ -34252,7 +34252,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.search._types" + "namespace": "_global.search._types.CompletionSuggest" } ], "inherits": { @@ -34278,7 +34278,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.search._types" + "namespace": "_global.search._types.CompletionSuggest" } } ], @@ -34296,7 +34296,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.search._types" + "namespace": "_global.search._types.CompletionSuggest" } } ], @@ -34319,7 +34319,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.search._types" + "namespace": "_global.search._types.CompletionSuggestOption" } ], "kind": "interface", @@ -34433,7 +34433,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.search._types" + "namespace": "_global.search._types.CompletionSuggestOption" } } }, @@ -35586,7 +35586,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.search._types" + "namespace": "_global.search._types.Hit" } ], "kind": "interface", @@ -35821,7 +35821,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.search._types" + "namespace": "_global.search._types.Hit" } } }, @@ -35876,7 +35876,7 @@ "generics": [ { "name": "T", - "namespace": "_global.search._types" + "namespace": "_global.search._types.HitsMetadata" } ], "kind": "interface", @@ -35920,7 +35920,7 @@ "kind": "instance_of", "type": { "name": "T", - "namespace": "_global.search._types" + "namespace": "_global.search._types.HitsMetadata" } } ], @@ -37582,7 +37582,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.search._types" + "namespace": "_global.search._types.Suggest" } ], "kind": "type_alias", @@ -37599,7 +37599,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.search._types" + "namespace": "_global.search._types.Suggest" } } ], @@ -39218,7 +39218,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.search_template" + "namespace": "_global.search_template.Response" } } ], @@ -39356,7 +39356,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.search_template" + "namespace": "_global.search_template.Response" } } ], @@ -39385,7 +39385,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.search_template" + "namespace": "_global.search_template.Response" } ], "kind": "response", @@ -39727,7 +39727,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.termvectors" + "namespace": "_global.termvectors.Request" } } }, @@ -39772,7 +39772,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.termvectors" + "namespace": "_global.termvectors.Request" } ], "inherits": { @@ -40239,7 +40239,7 @@ "kind": "instance_of", "type": { "name": "TPartialDocument", - "namespace": "_global.update" + "namespace": "_global.update.Request" } } }, @@ -40302,7 +40302,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.update" + "namespace": "_global.update.Request" } } } @@ -40312,11 +40312,11 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.update" + "namespace": "_global.update.Request" }, { "name": "TPartialDocument", - "namespace": "_global.update" + "namespace": "_global.update.Request" } ], "inherits": { @@ -40520,7 +40520,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.update" + "namespace": "_global.update.Response" } } ], @@ -40534,7 +40534,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.update" + "namespace": "_global.update.Response" } ], "kind": "response", @@ -40548,7 +40548,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_global.update" + "namespace": "_global.update.UpdateWriteResponseBase" } ], "inherits": { @@ -40572,7 +40572,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_global.update" + "namespace": "_global.update.UpdateWriteResponseBase" } } ], @@ -41515,7 +41515,7 @@ "generics": [ { "name": "T", - "namespace": "_spec_utils" + "namespace": "_spec_utils.PipeSeparatedFlags" } ], "kind": "type_alias", @@ -41530,7 +41530,7 @@ "kind": "instance_of", "type": { "name": "T", - "namespace": "_spec_utils" + "namespace": "_spec_utils.PipeSeparatedFlags" } }, { @@ -41549,7 +41549,7 @@ "generics": [ { "name": "T", - "namespace": "_spec_utils" + "namespace": "_spec_utils.Stringified" } ], "kind": "type_alias", @@ -41564,7 +41564,7 @@ "kind": "instance_of", "type": { "name": "T", - "namespace": "_spec_utils" + "namespace": "_spec_utils.Stringified" } }, { @@ -41599,7 +41599,7 @@ "generics": [ { "name": "T", - "namespace": "_spec_utils" + "namespace": "_spec_utils.WithNullValue" } ], "kind": "type_alias", @@ -41614,7 +41614,7 @@ "kind": "instance_of", "type": { "name": "T", - "namespace": "_spec_utils" + "namespace": "_spec_utils.WithNullValue" } }, { @@ -42676,7 +42676,7 @@ "generics": [ { "name": "Unit", - "namespace": "_types" + "namespace": "_types.DurationValue" } ], "kind": "type_alias", @@ -42689,7 +42689,7 @@ "kind": "instance_of", "type": { "name": "Unit", - "namespace": "_types" + "namespace": "_types.DurationValue" } } }, @@ -42871,7 +42871,7 @@ "generics": [ { "name": "Unit", - "namespace": "_types" + "namespace": "_types.EpochTime" } ], "kind": "type_alias", @@ -42884,7 +42884,7 @@ "kind": "instance_of", "type": { "name": "Unit", - "namespace": "_types" + "namespace": "_types.EpochTime" } } }, @@ -44692,7 +44692,7 @@ "generics": [ { "name": "TDocument", - "namespace": "_types" + "namespace": "_types.InlineGet" } ], "kind": "interface", @@ -44770,7 +44770,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "_types" + "namespace": "_types.InlineGet" } } } @@ -52568,7 +52568,7 @@ "generics": [ { "name": "TBucket", - "namespace": "_types.aggregations" + "namespace": "_types.aggregations.Buckets" } ], "kind": "type_alias", @@ -52593,7 +52593,7 @@ "kind": "instance_of", "type": { "name": "TBucket", - "namespace": "_types.aggregations" + "namespace": "_types.aggregations.Buckets" } } }, @@ -52603,7 +52603,7 @@ "kind": "instance_of", "type": { "name": "TBucket", - "namespace": "_types.aggregations" + "namespace": "_types.aggregations.Buckets" } } } @@ -54367,7 +54367,7 @@ "generics": [ { "name": "T", - "namespace": "_types.aggregations" + "namespace": "_types.aggregations.ExtendedBounds" } ], "kind": "interface", @@ -54384,7 +54384,7 @@ "kind": "instance_of", "type": { "name": "T", - "namespace": "_types.aggregations" + "namespace": "_types.aggregations.ExtendedBounds" } } }, @@ -54396,7 +54396,7 @@ "kind": "instance_of", "type": { "name": "T", - "namespace": "_types.aggregations" + "namespace": "_types.aggregations.ExtendedBounds" } } } @@ -58157,7 +58157,7 @@ "generics": [ { "name": "TBucket", - "namespace": "_types.aggregations" + "namespace": "_types.aggregations.MultiBucketAggregateBase" } ], "inherits": { @@ -58181,7 +58181,7 @@ "kind": "instance_of", "type": { "name": "TBucket", - "namespace": "_types.aggregations" + "namespace": "_types.aggregations.MultiBucketAggregateBase" } } ], @@ -59763,7 +59763,7 @@ "generics": [ { "name": "T", - "namespace": "_types.aggregations" + "namespace": "_types.aggregations.SignificantTermsAggregateBase" } ], "inherits": { @@ -59772,7 +59772,7 @@ "kind": "instance_of", "type": { "name": "T", - "namespace": "_types.aggregations" + "namespace": "_types.aggregations.SignificantTermsAggregateBase" } } ], @@ -61410,7 +61410,7 @@ "generics": [ { "name": "TBucket", - "namespace": "_types.aggregations" + "namespace": "_types.aggregations.TermsAggregateBase" } ], "inherits": { @@ -61419,7 +61419,7 @@ "kind": "instance_of", "type": { "name": "TBucket", - "namespace": "_types.aggregations" + "namespace": "_types.aggregations.TermsAggregateBase" } } ], @@ -74876,11 +74876,11 @@ "generics": [ { "name": "TOrigin", - "namespace": "_types.query_dsl" + "namespace": "_types.query_dsl.DecayPlacement" }, { "name": "TScale", - "namespace": "_types.query_dsl" + "namespace": "_types.query_dsl.DecayPlacement" } ], "kind": "interface", @@ -74911,7 +74911,7 @@ "kind": "instance_of", "type": { "name": "TScale", - "namespace": "_types.query_dsl" + "namespace": "_types.query_dsl.DecayPlacement" } } }, @@ -74923,7 +74923,7 @@ "kind": "instance_of", "type": { "name": "TScale", - "namespace": "_types.query_dsl" + "namespace": "_types.query_dsl.DecayPlacement" } } }, @@ -74935,7 +74935,7 @@ "kind": "instance_of", "type": { "name": "TOrigin", - "namespace": "_types.query_dsl" + "namespace": "_types.query_dsl.DecayPlacement" } } } @@ -75021,11 +75021,11 @@ "generics": [ { "name": "TOrigin", - "namespace": "_types.query_dsl" + "namespace": "_types.query_dsl.DistanceFeatureQueryBase" }, { "name": "TDistance", - "namespace": "_types.query_dsl" + "namespace": "_types.query_dsl.DistanceFeatureQueryBase" } ], "inherits": { @@ -75048,7 +75048,7 @@ "kind": "instance_of", "type": { "name": "TOrigin", - "namespace": "_types.query_dsl" + "namespace": "_types.query_dsl.DistanceFeatureQueryBase" } } }, @@ -75060,7 +75060,7 @@ "kind": "instance_of", "type": { "name": "TDistance", - "namespace": "_types.query_dsl" + "namespace": "_types.query_dsl.DistanceFeatureQueryBase" } } }, @@ -75356,7 +75356,7 @@ "specLocation": "_types/query_dsl/compound.ts#L270-L296" }, { - "esQuirk": "this container is valid without a variant. Despite being documented as a function, 'weight'\nis actually a container property that can be combined with a function. Comment in the ES code\n(SearchModule#registerScoreFunctions) says: Weight doesn't have its own parser, so every function\nsupports it out of the box. Can be a single function too when not associated to any other function,\nwhich is why it needs to be registered manually here.", + "esQuirk": "this container is valid without a variant. Despite being documented as a function, 'weight'\r\nis actually a container property that can be combined with a function. Comment in the ES code\r\n(SearchModule#registerScoreFunctions) says: Weight doesn't have its own parser, so every function\r\nsupports it out of the box. Can be a single function too when not associated to any other function,\r\nwhich is why it needs to be registered manually here.", "kind": "interface", "name": { "name": "FunctionScoreContainer", @@ -82488,7 +82488,7 @@ "generics": [ { "name": "TDocument", - "namespace": "async_search._types" + "namespace": "async_search._types.AsyncSearch" } ], "kind": "interface", @@ -82558,7 +82558,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "async_search._types" + "namespace": "async_search._types.AsyncSearch" } } ], @@ -82658,7 +82658,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "async_search._types" + "namespace": "async_search._types.AsyncSearch" } } ], @@ -82711,7 +82711,7 @@ "generics": [ { "name": "TDocument", - "namespace": "async_search._types" + "namespace": "async_search._types.AsyncSearchDocumentResponseBase" } ], "inherits": { @@ -82735,7 +82735,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "async_search._types" + "namespace": "async_search._types.AsyncSearchDocumentResponseBase" } } ], @@ -83025,7 +83025,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "async_search.get" + "namespace": "async_search.get.Response" } } ], @@ -83039,7 +83039,7 @@ "generics": [ { "name": "TDocument", - "namespace": "async_search.get" + "namespace": "async_search.get.Response" } ], "kind": "response", @@ -84251,7 +84251,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "async_search.submit" + "namespace": "async_search.submit.Response" } } ], @@ -84265,7 +84265,7 @@ "generics": [ { "name": "TDocument", - "namespace": "async_search.submit" + "namespace": "async_search.submit.Response" } ], "kind": "response", @@ -112058,7 +112058,7 @@ "generics": [ { "name": "TEvent", - "namespace": "eql._types" + "namespace": "eql._types.EqlHits" } ], "kind": "interface", @@ -112091,7 +112091,7 @@ "kind": "instance_of", "type": { "name": "TEvent", - "namespace": "eql._types" + "namespace": "eql._types.EqlHits" } } ], @@ -112117,7 +112117,7 @@ "kind": "instance_of", "type": { "name": "TEvent", - "namespace": "eql._types" + "namespace": "eql._types.EqlHits" } } ], @@ -112136,7 +112136,7 @@ "generics": [ { "name": "TEvent", - "namespace": "eql._types" + "namespace": "eql._types.EqlSearchResponseBase" } ], "kind": "interface", @@ -112224,7 +112224,7 @@ "kind": "instance_of", "type": { "name": "TEvent", - "namespace": "eql._types" + "namespace": "eql._types.EqlSearchResponseBase" } } ], @@ -112242,7 +112242,7 @@ "generics": [ { "name": "TEvent", - "namespace": "eql._types" + "namespace": "eql._types.HitsEvent" } ], "kind": "interface", @@ -112283,7 +112283,7 @@ "kind": "instance_of", "type": { "name": "TEvent", - "namespace": "eql._types" + "namespace": "eql._types.HitsEvent" } } }, @@ -112315,7 +112315,7 @@ "generics": [ { "name": "TEvent", - "namespace": "eql._types" + "namespace": "eql._types.HitsSequence" } ], "kind": "interface", @@ -112336,7 +112336,7 @@ "kind": "instance_of", "type": { "name": "TEvent", - "namespace": "eql._types" + "namespace": "eql._types.HitsSequence" } } ], @@ -112488,7 +112488,7 @@ "kind": "instance_of", "type": { "name": "TEvent", - "namespace": "eql.get" + "namespace": "eql.get.Response" } } ], @@ -112502,7 +112502,7 @@ "generics": [ { "name": "TEvent", - "namespace": "eql.get" + "namespace": "eql.get.Response" } ], "kind": "response", @@ -112982,7 +112982,7 @@ "kind": "instance_of", "type": { "name": "TEvent", - "namespace": "eql.search" + "namespace": "eql.search.Response" } } ], @@ -112996,7 +112996,7 @@ "generics": [ { "name": "TEvent", - "namespace": "eql.search" + "namespace": "eql.search.Response" } ], "kind": "response", @@ -113687,7 +113687,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "fleet.msearch" + "namespace": "fleet.msearch.Response" } } ], @@ -113704,7 +113704,7 @@ "generics": [ { "name": "TDocument", - "namespace": "fleet.msearch" + "namespace": "fleet.msearch.Response" } ], "kind": "response", @@ -114761,7 +114761,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "fleet.search" + "namespace": "fleet.search.Response" } } ], @@ -114899,7 +114899,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "fleet.search" + "namespace": "fleet.search.Response" } } ], @@ -114928,7 +114928,7 @@ "generics": [ { "name": "TDocument", - "namespace": "fleet.search" + "namespace": "fleet.search.Response" } ], "kind": "response", @@ -159990,7 +159990,7 @@ "kind": "instance_of", "type": { "name": "TData", - "namespace": "ml.post_data" + "namespace": "ml.post_data.Request" } } } @@ -160003,7 +160003,7 @@ "generics": [ { "name": "TData", - "namespace": "ml.post_data" + "namespace": "ml.post_data.Request" } ], "inherits": { @@ -160489,7 +160489,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "ml.preview_datafeed" + "namespace": "ml.preview_datafeed.Response" } } } @@ -160497,7 +160497,7 @@ "generics": [ { "name": "TDocument", - "namespace": "ml.preview_datafeed" + "namespace": "ml.preview_datafeed.Response" } ], "kind": "response", @@ -166161,14 +166161,14 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "monitoring.bulk" + "namespace": "monitoring.bulk.Request" } }, { "kind": "instance_of", "type": { "name": "TPartialDocument", - "namespace": "monitoring.bulk" + "namespace": "monitoring.bulk.Request" } } ], @@ -166182,7 +166182,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "monitoring.bulk" + "namespace": "monitoring.bulk.Request" } } ], @@ -166194,11 +166194,11 @@ "generics": [ { "name": "TDocument", - "namespace": "monitoring.bulk" + "namespace": "monitoring.bulk.Request" }, { "name": "TPartialDocument", - "namespace": "monitoring.bulk" + "namespace": "monitoring.bulk.Request" } ], "inherits": { @@ -176822,7 +176822,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "rollup.rollup_search" + "namespace": "rollup.rollup_search.Response" } } ], @@ -176860,7 +176860,7 @@ "generics": [ { "name": "TDocument", - "namespace": "rollup.rollup_search" + "namespace": "rollup.rollup_search.Response" } ], "kind": "response", @@ -177814,7 +177814,7 @@ "kind": "instance_of", "type": { "name": "TDocument", - "namespace": "search_application.search" + "namespace": "search_application.search.Response" } } ], @@ -177828,7 +177828,7 @@ "generics": [ { "name": "TDocument", - "namespace": "search_application.search" + "namespace": "search_application.search.Response" } ], "kind": "response", @@ -196072,7 +196072,7 @@ "kind": "instance_of", "type": { "name": "TJsonDocument", - "namespace": "text_structure.find_structure" + "namespace": "text_structure.find_structure.Request" } } } @@ -196081,7 +196081,7 @@ "generics": [ { "name": "TJsonDocument", - "namespace": "text_structure.find_structure" + "namespace": "text_structure.find_structure.Request" } ], "kind": "request", @@ -198521,7 +198521,7 @@ "kind": "instance_of", "type": { "name": "TTransform", - "namespace": "transform.preview_transform" + "namespace": "transform.preview_transform.Response" } } } @@ -198531,7 +198531,7 @@ "generics": [ { "name": "TTransform", - "namespace": "transform.preview_transform" + "namespace": "transform.preview_transform.Response" } ], "kind": "response", @@ -209745,11 +209745,11 @@ "generics": [ { "name": "TKey", - "namespace": "_spec_utils" + "namespace": "_spec_utils.AdditionalProperties" }, { "name": "TValue", - "namespace": "_spec_utils" + "namespace": "_spec_utils.AdditionalProperties" } ], "kind": "interface", @@ -209765,11 +209765,11 @@ "generics": [ { "name": "TKey", - "namespace": "_spec_utils" + "namespace": "_spec_utils.AdditionalProperty" }, { "name": "TValue", - "namespace": "_spec_utils" + "namespace": "_spec_utils.AdditionalProperty" } ], "kind": "interface", @@ -209962,7 +209962,7 @@ "generics": [ { "name": "TDefinition", - "namespace": "_spec_utils" + "namespace": "_spec_utils.OverloadOf" } ], "kind": "interface", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 2164f23902..54adc5099b 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -45,16 +45,16 @@ "async_search.get": { "request": [], "response": [ - "type_alias definition _types:EpochTime / instance_of - No type definition for '_types:Unit'", + "type_alias definition _types:EpochTime / instance_of - No type definition for '_types.EpochTime:Unit'", "type_alias definition _types.aggregations:Aggregate / instance_of - Non-leaf type cannot be used here: '_types.aggregations:StatsAggregate'", "type_alias definition _types.aggregations:Aggregate / instance_of - Non-leaf type cannot be used here: '_types.aggregations:ExtendedStatsAggregate'", - "type_alias definition _types.aggregations:Buckets / union_of / dictionary_of / instance_of - No type definition for '_types.aggregations:TBucket'", - "type_alias definition _types.aggregations:Buckets / union_of / array_of / instance_of - No type definition for '_types.aggregations:TBucket'", + "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'", "type_alias definition _types.aggregations:Aggregate / instance_of - Non-leaf type cannot be used here: '_types.aggregations:RangeAggregate'", - "type_alias definition _types:DurationValue / instance_of - No type definition for '_types:Unit'", + "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:TDocument'", + "type_alias definition _global.search._types:Suggest / instance_of / Generics / instance_of - No type definition for '_global.search._types.Suggest:TDocument'", "type_alias definition _global.search._types:Suggest - Expected 1 generic parameters but got 0" ] }, @@ -66,7 +66,7 @@ "Request: query parameter 'scroll' does not exist in the json spec", "Request: query parameter 'rest_total_hits_as_int' does not exist in the json spec", "interface definition _types:QueryVectorBuilder - Property text_embedding is a single-variant and must be required", - "type_alias definition _spec_utils:PipeSeparatedFlags / union_of / instance_of - No type definition for '_spec_utils:T'" + "type_alias definition _spec_utils:PipeSeparatedFlags / union_of / instance_of - No type definition for '_spec_utils.PipeSeparatedFlags:T'" ], "response": [] }, @@ -136,7 +136,7 @@ "request definition cat.count:Request / body - A request with inherited properties must have a PropertyBody" ], "response": [ - "type_alias definition _spec_utils:Stringified / union_of / instance_of - No type definition for '_spec_utils:T'" + "type_alias definition _spec_utils:Stringified / union_of / instance_of - No type definition for '_spec_utils.Stringified:T'" ] }, "cat.fielddata": { @@ -490,7 +490,7 @@ }, "connector.last_sync": { "request": [ - "type_alias definition _spec_utils:WithNullValue / union_of / instance_of - No type definition for '_spec_utils:T'" + "type_alias definition _spec_utils:WithNullValue / union_of / instance_of - No type definition for '_spec_utils.WithNullValue:T'" ], "response": [] }, @@ -611,7 +611,7 @@ "Request: query parameter 'allow_partial_search_results' does not exist in the json spec" ], "response": [ - "type_alias definition _global.msearch:ResponseItem / union_of / instance_of / Generics / instance_of - No type definition for '_global.msearch:TDocument'" + "type_alias definition _global.msearch:ResponseItem / union_of / instance_of / Generics / instance_of - No type definition for '_global.msearch.ResponseItem:TDocument'" ] }, "fleet.post_secret": { @@ -934,7 +934,7 @@ "mget": { "request": [], "response": [ - "type_alias definition _global.mget:ResponseItem / union_of / instance_of / Generics / instance_of - No type definition for '_global.mget:TDocument'" + "type_alias definition _global.mget:ResponseItem / union_of / instance_of / Generics / instance_of - No type definition for '_global.mget.ResponseItem:TDocument'" ] }, "ml.delete_calendar": {