Skip to content

Commit d63ae8a

Browse files
[Backport 8.12] Add support for subobjects property (#2446)
(cherry picked from commit 4e97d99) Co-authored-by: Quentin Pradet <[email protected]>
1 parent ee8cb77 commit d63ae8a

File tree

5 files changed

+37
-5
lines changed

5 files changed

+37
-5
lines changed

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 27 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/mapping/TypeMapping.ts

Lines changed: 1 addition & 0 deletions
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

specification/_types/mapping/complex.ts

Lines changed: 1 addition & 0 deletions
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)