diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index b79b41c8ff..26f543a935 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -68064,17 +68064,13 @@ }, "status": { "type": "number" - }, - "type": { - "type": "string" } }, "required": [ "cause", "id", "index", - "status", - "type" + "status" ] }, "_types:Retries": { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 9fdf8b32b3..9bc0c8439f 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -44444,17 +44444,13 @@ }, "status": { "type": "number" - }, - "type": { - "type": "string" } }, "required": [ "cause", "id", "index", - "status", - "type" + "status" ] }, "_types:Retries": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 85253cd188..86a6eb8831 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -118958,20 +118958,9 @@ "namespace": "_types" } } - }, - { - "name": "type", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } } ], - "specLocation": "_types/Errors.ts#L60-L66" + "specLocation": "_types/Errors.ts#L60-L65" }, { "kind": "interface", diff --git a/output/schema/schema.json b/output/schema/schema.json index ca5fc295d9..dc9269d5fb 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -44563,20 +44563,9 @@ "namespace": "_types" } } - }, - { - "name": "type", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } } ], - "specLocation": "_types/Errors.ts#L60-L66" + "specLocation": "_types/Errors.ts#L60-L65" }, { "kind": "interface", @@ -51865,7 +51854,7 @@ } } ], - "specLocation": "_types/Errors.ts#L68-L73" + "specLocation": "_types/Errors.ts#L67-L72" }, { "kind": "type_alias", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 335d146847..e3251ee62f 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -2180,7 +2180,6 @@ export interface BulkIndexByScrollFailure { id: Id index: IndexName status: integer - type: string } export interface BulkStats { diff --git a/specification/_types/Errors.ts b/specification/_types/Errors.ts index 62ce8eeee6..750a305525 100644 --- a/specification/_types/Errors.ts +++ b/specification/_types/Errors.ts @@ -62,7 +62,6 @@ export class BulkIndexByScrollFailure { id: Id index: IndexName status: integer - type: string } export class TaskFailure {