@PostMapping
    public ResponseEntity<Void> add(@RequestBody Role role) {
        roleService.save(null, role.getRoleName());
        return ResponseEntity.status(HttpStatus.CREATED).build();
    }
add

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