Skip to content

Commit 38c0b12

Browse files
[Backport 8.13] Add support for subobjects property (#2447)
(cherry picked from commit 4e97d99) Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
1 parent b8c1640 commit 38c0b12

File tree

5 files changed

+37
-5
lines changed

5 files changed

+37
-5
lines changed

Diff for: output/openapi/elasticsearch-serverless-openapi.json

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: output/schema/schema.json

+27-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: output/typescript/types.ts

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: specification/_types/mapping/TypeMapping.ts

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export class TypeMapping {
4848
_source?: SourceField
4949
runtime?: Dictionary<string, RuntimeField>
5050
enabled?: boolean
51+
subobjects?: boolean
5152
/**
5253
* @availability stack since=7.16.0
5354
* @availability serverless

Diff for: specification/_types/mapping/complex.ts

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export class NestedProperty extends CorePropertyBase {
4545

4646
export class ObjectProperty extends CorePropertyBase {
4747
enabled?: boolean
48+
subobjects?: boolean
4849
type?: 'object'
4950
}
5051

0 commit comments

Comments
 (0)