@PostMapping
    public ResponseEntity<Void> add(@RequestBody CategoryDto category) {
        categoryService.save(null, category);
        return ResponseEntity.status(HttpStatus.CREATED).build();
    }
add

@param category category
@return Void
src/main/java/com/tuituidan/openhub/controller/CategoryController.java