diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 4c3d312d73..cb84bf00da 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -63462,7 +63462,7 @@ "$ref": "#/components/schemas/_types.mapping:Property" }, "runtime": { - "$ref": "#/components/schemas/_types.mapping:Property" + "$ref": "#/components/schemas/_types.mapping:RuntimeField" } }, "minProperties": 1, diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 85f6ed4d79..6945b2f720 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -41129,7 +41129,7 @@ "$ref": "#/components/schemas/_types.mapping:Property" }, "runtime": { - "$ref": "#/components/schemas/_types.mapping:Property" + "$ref": "#/components/schemas/_types.mapping:RuntimeField" } }, "minProperties": 1, diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 59a08ed1ea..42965dc5c7 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -88032,7 +88032,7 @@ "name": "DynamicMapping", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/dynamic-template.ts#L49-L58" + "specLocation": "_types/mapping/dynamic-template.ts#L50-L59" }, { "kind": "enum", @@ -88112,7 +88112,7 @@ "name": "MatchType", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/dynamic-template.ts#L44-L47" + "specLocation": "_types/mapping/dynamic-template.ts#L45-L48" }, { "kind": "enum", @@ -117847,7 +117847,7 @@ "type": { "kind": "instance_of", "type": { - "name": "Property", + "name": "RuntimeField", "namespace": "_types.mapping" } } @@ -118027,7 +118027,7 @@ } } ], - "specLocation": "_types/mapping/dynamic-template.ts#L22-L42", + "specLocation": "_types/mapping/dynamic-template.ts#L23-L43", "variants": { "kind": "container" } diff --git a/output/schema/schema.json b/output/schema/schema.json index 4fe2bac714..96345d2a62 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -76349,7 +76349,7 @@ "name": "DynamicMapping", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/dynamic-template.ts#L49-L58" + "specLocation": "_types/mapping/dynamic-template.ts#L50-L59" }, { "kind": "interface", @@ -76653,7 +76653,7 @@ "type": { "kind": "instance_of", "type": { - "name": "Property", + "name": "RuntimeField", "namespace": "_types.mapping" } } @@ -76833,7 +76833,7 @@ } } ], - "specLocation": "_types/mapping/dynamic-template.ts#L22-L42", + "specLocation": "_types/mapping/dynamic-template.ts#L23-L43", "variants": { "kind": "container" } @@ -78398,7 +78398,7 @@ "name": "MatchType", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/dynamic-template.ts#L44-L47" + "specLocation": "_types/mapping/dynamic-template.ts#L45-L48" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index ab90921793..07e98736d9 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -5516,7 +5516,7 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase { export interface MappingDynamicTemplate { mapping?: MappingProperty - runtime?: MappingProperty + runtime?: MappingRuntimeField match?: string | string[] path_match?: string | string[] unmatch?: string | string[] diff --git a/specification/_types/mapping/dynamic-template.ts b/specification/_types/mapping/dynamic-template.ts index 294690d623..3266faf553 100644 --- a/specification/_types/mapping/dynamic-template.ts +++ b/specification/_types/mapping/dynamic-template.ts @@ -18,13 +18,14 @@ */ import { Property } from './Property' +import { RuntimeField } from './RuntimeFields' /** * @variants container */ export class DynamicTemplate { mapping?: Property - runtime?: Property + runtime?: RuntimeField /** @variant container_property */ match?: string | string[] /** @variant container_property */