@PatchMapping("/{id}")
    public ResponseEntity<Void> update(@PathVariable("id") String id, @RequestBody CategoryDto category) {
        categoryService.save(id, category);
        return ResponseEntity.noContent().build();
    }
update

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