Rename clientUuid path parameter to client-uuid for consistency
Closes #24960 Signed-off-by: Sophie Tauchert <sophie@999eagle.moe>
This commit is contained in:
parent
496c0e7f03
commit
855aebabc2
1 changed files with 2 additions and 2 deletions
|
@ -372,14 +372,14 @@ public class RoleContainerResource extends RoleResource {
|
||||||
* @param clientUuid
|
* @param clientUuid
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@Path("{role-name}/composites/clients/{clientUuid}")
|
@Path("{role-name}/composites/clients/{client-uuid}")
|
||||||
@GET
|
@GET
|
||||||
@NoCache
|
@NoCache
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
@Tag(name = KeycloakOpenAPI.Admin.Tags.ROLES)
|
@Tag(name = KeycloakOpenAPI.Admin.Tags.ROLES)
|
||||||
@Operation( summary = "Get client-level roles for the client that are in the role's composite")
|
@Operation( summary = "Get client-level roles for the client that are in the role's composite")
|
||||||
public Stream<RoleRepresentation> getClientRoleComposites(final @Parameter(description = "role's name (not id!)") @PathParam("role-name") String roleName,
|
public Stream<RoleRepresentation> getClientRoleComposites(final @Parameter(description = "role's name (not id!)") @PathParam("role-name") String roleName,
|
||||||
final @PathParam("clientUuid") String clientUuid) {
|
final @PathParam("client-uuid") String clientUuid) {
|
||||||
auth.roles().requireView(roleContainer);
|
auth.roles().requireView(roleContainer);
|
||||||
RoleModel role = roleContainer.getRole(roleName);
|
RoleModel role = roleContainer.getRole(roleName);
|
||||||
if (role == null) {
|
if (role == null) {
|
||||||
|
|
Loading…
Reference in a new issue