Skip to content

Commit d5ae353

Browse files
Add templates and ilm_policies to the Deprecation API response. (#3648) (#3651)
* Add new fields in the deprecation API response. * Generate files * Add new fields to elasticsearch-openapi.json (cherry picked from commit 7665cdb) Co-authored-by: Mary Gouseti <[email protected]>
1 parent 4fc874e commit d5ae353

File tree

4 files changed

+85
-2
lines changed

4 files changed

+85
-2
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 21 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 53 additions & 1 deletion
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/migration/deprecations/DeprecationInfoResponse.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,14 @@ export class Response {
4141
* Machine learning-related deprecation warnings.
4242
*/
4343
ml_settings: Deprecation[]
44+
/**
45+
* Template warnings are sectioned off per template and include deprecations for both component templates and
46+
* index templates.
47+
*/
48+
templates: Dictionary<string, Deprecation[]>
49+
/**
50+
* ILM policy warnings are sectioned off per policy.
51+
*/
52+
ilm_policies: Dictionary<string, Deprecation[]>
4453
}
4554
}

0 commit comments

Comments
 (0)