diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index d06819dc78..b7477f9620 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 e25252ddfc..485e140a16 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -45556,8 +45556,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 2a1aedeaa0..33f35418d4 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -120226,7 +120226,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 2a0e326eac..82b51c99ed 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 789e68184c..ea285cf073 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 } /**