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
|
||||
* @return
|
||||
*/
|
||||
@Path("{role-name}/composites/clients/{clientUuid}")
|
||||
@Path("{role-name}/composites/clients/{client-uuid}")
|
||||
@GET
|
||||
@NoCache
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@Tag(name = KeycloakOpenAPI.Admin.Tags.ROLES)
|
||||
@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,
|
||||
final @PathParam("clientUuid") String clientUuid) {
|
||||
final @PathParam("client-uuid") String clientUuid) {
|
||||
auth.roles().requireView(roleContainer);
|
||||
RoleModel role = roleContainer.getRole(roleName);
|
||||
if (role == null) {
|
||||
|
|
Loading…
Reference in a new issue