class FileTypeController {

    @GetMapping("/find-by-name/{name}")
    public RestResult<FileTypeResource> findByName(@PathVariable("name") final String name) {
        return fileTypeService.findByName(name).toGetResponse();
    }

}