class DocumentsController {

    @DeleteMapping(value = "/config/{documentConfigId}/delete", produces = "application/json")
    public RestResult<Void> deleteDocument(@PathVariable("projectId") long projectId,
                                           @PathVariable("documentConfigId") long documentConfigId) throws IOException {

        return documentsService.deleteDocument(projectId, documentConfigId).toDeleteResponse();
    }

    public  DocumentsController();

}