@PatchMapping("/{id}")
    public ResponseEntity<Void> update(@PathVariable("id") String id,
            @RequestBody Role role) {
        roleService.save(id, role.getRoleName());
        return ResponseEntity.noContent().build();
    }
update

@param id id
@param role role
@return Void
src/main/java/com/tuituidan/openhub/controller/RoleController.java