diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 24e1540fd2..f618561041 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -47193,7 +47193,7 @@ "description": "Array of terms you wish to find in the provided field.", "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/_types:FieldValue" } } }, diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 397e1a97cd..1c517e01c0 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -30473,7 +30473,7 @@ "description": "Array of terms you wish to find in the provided field.", "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/_types:FieldValue" } } }, diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 970d7e5bec..43a3fc1921 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -58187,8 +58187,8 @@ "value": { "kind": "instance_of", "type": { - "name": "string", - "namespace": "_builtins" + "name": "FieldValue", + "namespace": "_types" } } } diff --git a/output/schema/schema.json b/output/schema/schema.json index f53918fe73..9840954027 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -85483,8 +85483,8 @@ "value": { "kind": "instance_of", "type": { - "name": "string", - "namespace": "_builtins" + "name": "FieldValue", + "namespace": "_types" } } } diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 764124ae75..0d18dde8ca 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -6605,7 +6605,7 @@ export interface QueryDslTermsSetQuery extends QueryDslQueryBase { minimum_should_match?: MinimumShouldMatch minimum_should_match_field?: Field minimum_should_match_script?: Script | string - terms: string[] + terms: FieldValue[] } export interface QueryDslTextExpansionQuery extends QueryDslQueryBase { diff --git a/specification/_types/query_dsl/term.ts b/specification/_types/query_dsl/term.ts index 73c8e268e8..92a2d1ba60 100644 --- a/specification/_types/query_dsl/term.ts +++ b/specification/_types/query_dsl/term.ts @@ -270,7 +270,7 @@ export class TermsSetQuery extends QueryBase { /** * Array of terms you wish to find in the provided field. */ - terms: string[] + terms: FieldValue[] } export class TypeQuery extends QueryBase {