@PostMapping(value = "/file", consumes = {MediaType.MULTIPART_FORM_DATA_VALUE})
    @ShenyuSpringMvcClient(path = "/file")
    @ApiDoc(desc = "file")
    public String post(@RequestPart("file")final MultipartFile file) {
        return file.getOriginalFilename();
    }
Upload file.

@param file file
@return filename
shenyu-examples/shenyu-examples-springcloud/src/main/java/org/apache/shenyu/examples/springcloud/controller/UploadController.java