Skip to content

Commit 68d8b97

Browse files
ezimuelrusscam
andauthored
Specify security.get_role_mapping and security.get_role name as list (#53207) (#63786)
This commit updates the rest API specs for - security.get_role_mapping to specify name as a list type. - security.get_role to specify name as a list type. Co-authored-by: Russ Cam <[email protected]>
1 parent 8779f57 commit 68d8b97

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
],
1515
"parts":{
1616
"name":{
17-
"type":"string",
18-
"description":"Role name"
17+
"type":"list",
18+
"description":"A comma-separated list of role names"
1919
}
2020
}
2121
},

x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
],
1515
"parts":{
1616
"name":{
17-
"type":"string",
18-
"description":"Role-Mapping name"
17+
"type":"list",
18+
"description":"A comma-separated list of role-mapping names"
1919
}
2020
}
2121
},

0 commit comments

Comments
 (0)