Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 8.12] Add support for subobjects property #2446

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading