Skip to content

Commit

Permalink
[Backport 8.13] Add support for subobjects property (#2447)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4e97d99)

Co-authored-by: Quentin Pradet <[email protected]>
  • Loading branch information
github-actions[bot] and pquentin authored Mar 13, 2024
1 parent b8c1640 commit 38c0b12
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 5 deletions.
6 changes: 6 additions & 0 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 27 additions & 5 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions specification/_types/mapping/TypeMapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export class TypeMapping {
_source?: SourceField
runtime?: Dictionary<string, RuntimeField>
enabled?: boolean
subobjects?: boolean
/**
* @availability stack since=7.16.0
* @availability serverless
Expand Down
1 change: 1 addition & 0 deletions specification/_types/mapping/complex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export class NestedProperty extends CorePropertyBase {

export class ObjectProperty extends CorePropertyBase {
enabled?: boolean
subobjects?: boolean
type?: 'object'
}

Expand Down

0 comments on commit 38c0b12

Please sign in to comment.