From 6a999dcc941f3a8e4a4a2ae08b22932d09b619bf Mon Sep 17 00:00:00 2001 From: Slobodan Adamovic Date: Thu, 12 Sep 2024 13:59:18 +0200 Subject: [PATCH 1/3] Update role name description --- output/openapi/elasticsearch-serverless-openapi.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index f232f5f24d..690ef8542d 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -27866,7 +27866,7 @@ "security.put_role#name": { "in": "path", "name": "name", - "description": "The name of the role.", + "description": "The name of the role that is being created or updated. The role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role.", "required": true, "deprecated": false, "schema": { From fafea56e54a21707ef449c29bd8db9de34959405 Mon Sep 17 00:00:00 2001 From: Slobodan Adamovic Date: Thu, 12 Sep 2024 14:05:42 +0200 Subject: [PATCH 2/3] Update put role request --- specification/security/put_role/SecurityPutRoleRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/security/put_role/SecurityPutRoleRequest.ts b/specification/security/put_role/SecurityPutRoleRequest.ts index 62b25087b5..09b685ed38 100644 --- a/specification/security/put_role/SecurityPutRoleRequest.ts +++ b/specification/security/put_role/SecurityPutRoleRequest.ts @@ -38,7 +38,7 @@ import { Metadata, Name, Refresh } from '@_types/common' export interface Request extends RequestBase { path_parts: { /** - * The name of the role. + * The name of the role that is being created or updated. The role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role. */ name: Name } From 894fbfc230f84cc613d7247c09b61c17b19abc0e Mon Sep 17 00:00:00 2001 From: Slobodan Adamovic Date: Thu, 3 Oct 2024 10:36:36 +0200 Subject: [PATCH 3/3] apply suggestion --- output/openapi/elasticsearch-serverless-openapi.json | 2 +- output/schema/schema-serverless.json | 2 +- specification/security/put_role/SecurityPutRoleRequest.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 45067fb1d5..3b16e96067 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -61559,7 +61559,7 @@ "security.put_role#name": { "in": "path", "name": "name", - "description": "The name of the role that is being created or updated. The role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role.", + "description": "The name of the role that is being created or updated. On Elasticsearch Serverless, the role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role.", "required": true, "deprecated": false, "schema": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index cd8b7feee5..ba94ed4dbd 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -39974,7 +39974,7 @@ }, "path": [ { - "description": "The name of the role.", + "description": "The name of the role that is being created or updated. On Elasticsearch Serverless, the role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role.", "name": "name", "required": true, "type": { diff --git a/specification/security/put_role/SecurityPutRoleRequest.ts b/specification/security/put_role/SecurityPutRoleRequest.ts index 3b3cf5f9b3..09f818145b 100644 --- a/specification/security/put_role/SecurityPutRoleRequest.ts +++ b/specification/security/put_role/SecurityPutRoleRequest.ts @@ -39,7 +39,7 @@ import { Metadata, Name, Refresh } from '@_types/common' export interface Request extends RequestBase { path_parts: { /** - * The name of the role that is being created or updated. The role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role. + * The name of the role that is being created or updated. On Elasticsearch Serverless, the role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role. */ name: Name }