Skip to content

Commit d7b2276

Browse files
authored
Remove query parameters from security.get_user_privileges (#4869)
They are not supported as this API only returns privileges from the current users and accepts no parameters.
1 parent 0543299 commit d7b2276

File tree

5 files changed

+2
-108
lines changed

5 files changed

+2
-108
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 0 additions & 39 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: 2 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@
4747
],
4848
"response": []
4949
},
50-
"security.get_user_privileges": {
51-
"request": [
52-
"Request: query parameter 'application' does not exist in the json spec",
53-
"Request: query parameter 'priviledge' does not exist in the json spec",
54-
"Request: query parameter 'username' does not exist in the json spec"
55-
],
56-
"response": []
57-
},
5850
"security.grant_api_key": {
5951
"request": [
6052
"Request: missing json spec query parameter 'refresh'"

output/typescript/types.ts

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

specification/security/get_user_privileges/SecurityGetUserPrivilegesRequest.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*/
1919

2020
import { RequestBase } from '@_types/Base'
21-
import { Name } from '@_types/common'
2221

2322
/**
2423
* Get user privileges.
@@ -39,11 +38,4 @@ export interface Request extends RequestBase {
3938
methods: ['GET']
4039
}
4140
]
42-
query_parameters: {
43-
/** The name of the application. Application privileges are always associated with exactly one application. If you do not specify this parameter, the API returns information about all privileges for all applications. */
44-
application?: Name
45-
/** The name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application. */
46-
priviledge?: Name
47-
username?: Name | null
48-
}
4941
}

0 commit comments

Comments
 (0)