From e130950faf8b9a90507d71fe4d8ff2ad79761b4a Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Mon, 27 Jan 2025 14:56:14 +0400 Subject: [PATCH] Fix server_default annotation --- output/openapi/elasticsearch-openapi.json | 2 +- output/schema/schema-serverless.json | 3 ++- output/schema/schema.json | 3 ++- specification/snapshot/_types/SnapshotRepository.ts | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index f5b2f60d39..2211feaef8 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -89220,7 +89220,7 @@ "type": "boolean" }, "server_side_encryption": { - "description": "When set to `true`m files are encrypted on server side using an AES256 algorithm.\nserver_default false", + "description": "When set to `true`, files are encrypted on server side using an AES256 algorithm.", "type": "boolean" }, "storage_class": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index f3ffaf4566..400ac7070b 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -106225,9 +106225,10 @@ } }, { - "description": "When set to `true`m files are encrypted on server side using an AES256 algorithm.\nserver_default false", + "description": "When set to `true`, files are encrypted on server side using an AES256 algorithm.", "name": "server_side_encryption", "required": false, + "serverDefault": false, "type": { "kind": "instance_of", "type": { diff --git a/output/schema/schema.json b/output/schema/schema.json index e4440cb4ef..dfbcb4e4c5 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -209841,9 +209841,10 @@ } }, { - "description": "When set to `true`m files are encrypted on server side using an AES256 algorithm.\nserver_default false", + "description": "When set to `true`, files are encrypted on server side using an AES256 algorithm.", "name": "server_side_encryption", "required": false, + "serverDefault": false, "type": { "kind": "instance_of", "type": { diff --git a/specification/snapshot/_types/SnapshotRepository.ts b/specification/snapshot/_types/SnapshotRepository.ts index 35c8bdf03c..6f65d4ab8f 100644 --- a/specification/snapshot/_types/SnapshotRepository.ts +++ b/specification/snapshot/_types/SnapshotRepository.ts @@ -314,8 +314,8 @@ export class S3RepositorySettings extends RepositorySettingsBase { */ readonly?: boolean /** - * When set to `true`m files are encrypted on server side using an AES256 algorithm. - * server_default false + * When set to `true`, files are encrypted on server side using an AES256 algorithm. + * @server_default false */ server_side_encryption?: boolean /**