diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index fb600584bf..65b09f2c49 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -76367,6 +76367,10 @@ }, "settings_override": { "$ref": "#/components/schemas/indices._types:IndexSettings" + }, + "remove_index_blocks": { + "description": "If index blocks should be removed when creating destination index (optional)", + "type": "boolean" } } }, diff --git a/output/schema/schema.json b/output/schema/schema.json index 9a72791aba..dd062ded54 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -154216,9 +154216,21 @@ "namespace": "indices._types" } } + }, + { + "description": "If index blocks should be removed when creating destination index (optional)", + "name": "remove_index_blocks", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } } ], - "specLocation": "migrate/create_from/MigrateCreateFromRequest.ts#L45-L54" + "specLocation": "migrate/create_from/MigrateCreateFromRequest.ts#L45-L58" }, { "kind": "request", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index d526185cb8..077fc5c295 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -13897,6 +13897,7 @@ export type MigrateCancelReindexResponse = AcknowledgedResponseBase export interface MigrateCreateFromCreateFrom { mappings_override?: MappingTypeMapping settings_override?: IndicesIndexSettings + remove_index_blocks?: boolean } export interface MigrateCreateFromRequest extends RequestBase { diff --git a/specification/migrate/create_from/MigrateCreateFromRequest.ts b/specification/migrate/create_from/MigrateCreateFromRequest.ts index 2079f4ba66..2c916ae2eb 100644 --- a/specification/migrate/create_from/MigrateCreateFromRequest.ts +++ b/specification/migrate/create_from/MigrateCreateFromRequest.ts @@ -51,4 +51,9 @@ export class CreateFrom { * Settings overrides to be applied to the destination index (optional) */ settings_override?: IndexSettings + /** + * If index blocks should be removed when creating destination index (optional) + * @server_default false + */ + remove_index_blocks?: boolean }