class DocumentsController {

    @GetMapping(value = "/config/{documentConfigId}/file-entry-details", produces = "application/json")
    public RestResult<FileEntryResource> getFileEntryDetails(@PathVariable("projectId") long projectId,
                                                             @PathVariable("documentConfigId") long documentConfigId) throws IOException {

        return documentsService.getFileEntryDetails(projectId, documentConfigId).toGetResponse();
    }

    public  DocumentsController();

}