diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 7881e3fcc9..a041ad544b 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -45364,6 +45364,9 @@ "enabled": { "type": "boolean" }, + "subobjects": { + "type": "boolean" + }, "_data_stream_timestamp": { "$ref": "#/components/schemas/_types.mapping:DataStreamTimestamp" } @@ -46528,6 +46531,9 @@ "enabled": { "type": "boolean" }, + "subobjects": { + "type": "boolean" + }, "type": { "type": "string", "enum": [ diff --git a/output/schema/schema.json b/output/schema/schema.json index 4b4c964e2a..497bc2bb8d 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -67218,7 +67218,7 @@ } } ], - "specLocation": "_types/mapping/complex.ts#L59-L64" + "specLocation": "_types/mapping/complex.ts#L60-L65" }, { "kind": "interface", @@ -67659,7 +67659,7 @@ } } ], - "specLocation": "_types/mapping/TypeMapping.ts#L58-L60" + "specLocation": "_types/mapping/TypeMapping.ts#L59-L61" }, { "inherits": { @@ -68007,7 +68007,7 @@ } } ], - "specLocation": "_types/mapping/complex.ts#L51-L57" + "specLocation": "_types/mapping/complex.ts#L52-L58" }, { "inherits": { @@ -70003,6 +70003,17 @@ } } }, + { + "name": "subobjects", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "name": "type", "required": false, @@ -70012,7 +70023,7 @@ } } ], - "specLocation": "_types/mapping/complex.ts#L46-L49" + "specLocation": "_types/mapping/complex.ts#L46-L50" }, { "kind": "enum", @@ -71927,6 +71938,17 @@ } } }, + { + "name": "subobjects", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "availability": { "serverless": {}, @@ -71946,7 +71968,7 @@ } } ], - "specLocation": "_types/mapping/TypeMapping.ts#L34-L56" + "specLocation": "_types/mapping/TypeMapping.ts#L34-L57" }, { "inherits": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 06ab1dd95c..fca0f9d489 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -5164,6 +5164,7 @@ export interface MappingNumberPropertyBase extends MappingDocValuesPropertyBase export interface MappingObjectProperty extends MappingCorePropertyBase { enabled?: boolean + subobjects?: boolean type?: 'object' } @@ -5338,6 +5339,7 @@ export interface MappingTypeMapping { _source?: MappingSourceField runtime?: Record enabled?: boolean + subobjects?: boolean _data_stream_timestamp?: MappingDataStreamTimestamp } diff --git a/specification/_types/mapping/TypeMapping.ts b/specification/_types/mapping/TypeMapping.ts index 2d3a11b963..37aae9188b 100644 --- a/specification/_types/mapping/TypeMapping.ts +++ b/specification/_types/mapping/TypeMapping.ts @@ -48,6 +48,7 @@ export class TypeMapping { _source?: SourceField runtime?: Dictionary enabled?: boolean + subobjects?: boolean /** * @availability stack since=7.16.0 * @availability serverless diff --git a/specification/_types/mapping/complex.ts b/specification/_types/mapping/complex.ts index 4a1bf14814..0db891ede8 100644 --- a/specification/_types/mapping/complex.ts +++ b/specification/_types/mapping/complex.ts @@ -45,6 +45,7 @@ export class NestedProperty extends CorePropertyBase { export class ObjectProperty extends CorePropertyBase { enabled?: boolean + subobjects?: boolean type?: 'object' }