diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 026ea50689..b3370fe101 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -46394,8 +46394,7 @@ } }, "required": [ - "type", - "dims" + "type" ] } ] diff --git a/output/schema/schema.json b/output/schema/schema.json index 87cb066081..fda2856fb0 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -67964,7 +67964,7 @@ }, { "name": "dims", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index f8a19f6886..898a617844 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -4945,7 +4945,7 @@ export interface MappingDenseVectorIndexOptions { export interface MappingDenseVectorProperty extends MappingPropertyBase { type: 'dense_vector' - dims: integer + dims?: integer similarity?: string index?: boolean index_options?: MappingDenseVectorIndexOptions diff --git a/specification/_types/mapping/complex.ts b/specification/_types/mapping/complex.ts index a51d5783ef..4a1bf14814 100644 --- a/specification/_types/mapping/complex.ts +++ b/specification/_types/mapping/complex.ts @@ -50,7 +50,7 @@ export class ObjectProperty extends CorePropertyBase { export class DenseVectorProperty extends PropertyBase { type: 'dense_vector' - dims: integer + dims?: integer similarity?: string index?: boolean index_options?: DenseVectorIndexOptions