Skip to content

Commit

Permalink
Add missing fields to IndexTemplate (#3129)
Browse files Browse the repository at this point in the history
Co-authored-by: Quentin Pradet <[email protected]>
  • Loading branch information
nielsbauman and pquentin authored Nov 15, 2024
1 parent 8dbde0e commit 2c94880
Show file tree
Hide file tree
Showing 6 changed files with 108 additions and 6 deletions.
7 changes: 7 additions & 0 deletions output/openapi/elasticsearch-openapi.json

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

7 changes: 7 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.

42 changes: 39 additions & 3 deletions output/schema/schema-serverless.json

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

42 changes: 39 additions & 3 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.

14 changes: 14 additions & 0 deletions specification/indices/_types/IndexTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,20 @@ export class IndexTemplate {
* Data streams require a matching index template with a `data_stream` object.
*/
data_stream?: IndexTemplateDataStreamConfiguration
/**
* Marks this index template as deprecated.
* When creating or updating a non-deprecated index template that uses deprecated components,
* Elasticsearch will emit a deprecation warning.
* @availability stack since=8.12.0
* @availability serverless
*/
deprecated?: boolean
/**
* A list of component template names that are allowed to be absent.
* @availability stack since=8.7.0
* @availability serverless
*/
ignore_missing_component_templates?: Names
}

export class IndexTemplateDataStreamConfiguration {
Expand Down

0 comments on commit 2c94880

Please sign in to comment.