class DocumentsController {

    @GetMapping("/config/{documentConfigId}/file-contents")
    @ResponseBody
    public ResponseEntity<Object> getFileContents(@PathVariable("projectId") long projectId,
                                                  @PathVariable("documentConfigId") long documentConfigId) throws IOException {

        return fileControllerUtils.handleFileDownload(() -> documentsService.getFileContents(projectId, documentConfigId));
    }

    public  DocumentsController();

}