Skip to content

Commit

Permalink
Add support for subobjects property (#2445)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Mar 9, 2024
1 parent 0a63a19 commit 4e97d99
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 4e97d99

Please sign in to comment.