diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 96bdb9f7af..f9338000ba 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -69014,8 +69014,7 @@ }, "required": [ "service", - "service_settings", - "task_settings" + "service_settings" ] }, "inference._types:ServiceSettings": { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 570b6f4925..c4c95f87b6 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -45639,8 +45639,7 @@ }, "required": [ "service", - "service_settings", - "task_settings" + "service_settings" ] }, "inference._types:ServiceSettings": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index b4509d3fee..cc458c8497 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -120146,7 +120146,7 @@ { "description": "Task settings specific to the service and task type", "name": "task_settings", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { diff --git a/output/schema/schema.json b/output/schema/schema.json index 8397d31c40..b93c8be132 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -139946,7 +139946,7 @@ { "description": "Task settings specific to the service and task type", "name": "task_settings", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 7d8c4a9bcb..95d252e549 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -12683,7 +12683,7 @@ export type InferenceDenseVector = float[] export interface InferenceInferenceEndpoint { service: string service_settings: InferenceServiceSettings - task_settings: InferenceTaskSettings + task_settings?: InferenceTaskSettings } export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoint { diff --git a/specification/inference/_types/Services.ts b/specification/inference/_types/Services.ts index 827d542d80..52d3c9f7e4 100644 --- a/specification/inference/_types/Services.ts +++ b/specification/inference/_types/Services.ts @@ -35,7 +35,7 @@ export class InferenceEndpoint { /** * Task settings specific to the service and task type */ - task_settings: TaskSettings + task_settings?: TaskSettings } /**