Skip to content

Commit 22650a1

Browse files
committed
Fix role-related API spec
1 parent 8650a71 commit 22650a1

File tree

8 files changed

+52
-44
lines changed

8 files changed

+52
-44
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 12 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 12 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/security/delete_role/SecurityDeleteRoleRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Name, Refresh } from '@_types/common'
2222

2323
/**
24+
* Delete roles API
25+
* Removes roles in the native realm.
2426
* @rest_spec_name security.delete_role
2527
* @availability stack stability=stable
2628
* @availability serverless stability=stable visibility=public

specification/security/get_builtin_privileges/SecurityGetBuiltinPrivilegesRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
import { RequestBase } from '@_types/Base'
2121

2222
/**
23+
* Get builtin privileges API
24+
* Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.
2325
* @rest_spec_name security.get_builtin_privileges
2426
* @availability stack since=7.3.0 stability=stable
2527
* @availability serverless stability=stable visibility=public

specification/security/get_role/SecurityGetRoleRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import { RequestBase } from '@_types/Base'
2121
import { Names } from '@_types/common'
2222

2323
/**
24-
* The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
25-
* The get roles API cannot retrieve roles that are defined in roles files.
24+
* Get roles API
25+
* Retrieves roles in the native realm.
2626
* @rest_spec_name security.get_role
2727
* @availability stack stability=stable
2828
* @availability serverless stability=stable visibility=public

specification/security/put_role/SecurityPutRoleRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ import { RequestBase } from '@_types/Base'
2929
import { Metadata, Name, Refresh } from '@_types/common'
3030

3131
/**
32-
* The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
33-
* The create or update roles API cannot update roles that are defined in roles files.
32+
* Create or update roles API
33+
* Create or update roles in the native realm.
3434
* @rest_spec_name security.put_role
3535
* @availability stack stability=stable
3636
* @availability serverless stability=stable visibility=public

0 commit comments

Comments
 (0)