Some small fix for the `x-pack` rest api spec. * In both `security.enable_user.json` and `security.disable_user.json` the `username` parameter was `false` instead of `true` (the documentation is already correct). * In `security.get_privileges.json` there were missing all the possible paths since the path parameters are not required. This fix aligns the document with the rest of the spec, where all the possible combinations are listed.
This commit is contained in:
parent
f4c5abe4d4
commit
0c7310936b
|
@ -11,7 +11,7 @@
|
|||
"username": {
|
||||
"type" : "string",
|
||||
"description" : "The username of the user to disable",
|
||||
"required" : false
|
||||
"required" : true
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"username": {
|
||||
"type" : "string",
|
||||
"description" : "The username of the user to enable",
|
||||
"required" : false
|
||||
"required" : true
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
"url": {
|
||||
"path": "/_security/privilege/{application}/{name}",
|
||||
"paths": [
|
||||
"/_security/privilege",
|
||||
"/_security/privilege/{application}",
|
||||
"/_security/privilege/{application}/{name}"
|
||||
],
|
||||
"parts": {
|
||||
|
|
Loading…
Reference in New Issue