From a81e7502912e3100119fe7949e72eba33c5ea241 Mon Sep 17 00:00:00 2001 From: v_kkhuang <420895376@qq.com> Date: Mon, 25 Dec 2023 17:19:01 +0800 Subject: [PATCH] update api --- .../apache/linkis/filesystem/restful/api/FsRestfulApi.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linkis-public-enhancements/linkis-script-dev/linkis-storage-script-dev-server/src/main/java/org/apache/linkis/filesystem/restful/api/FsRestfulApi.java b/linkis-public-enhancements/linkis-script-dev/linkis-storage-script-dev-server/src/main/java/org/apache/linkis/filesystem/restful/api/FsRestfulApi.java index 428219c29f..b787408388 100644 --- a/linkis-public-enhancements/linkis-script-dev/linkis-storage-script-dev-server/src/main/java/org/apache/linkis/filesystem/restful/api/FsRestfulApi.java +++ b/linkis-public-enhancements/linkis-script-dev/linkis-storage-script-dev-server/src/main/java/org/apache/linkis/filesystem/restful/api/FsRestfulApi.java @@ -1164,7 +1164,7 @@ private static void deleteAllFiles(FileSystem fileSystem, FsPath fsPath) throws @ApiOperation(value = "chmod", notes = "file chmod", response = Message.class) @ApiImplicitParams({ - @ApiImplicitParam(name = "filepath", required = false, dataType = "String", value = "filepath"), + @ApiImplicitParam(name = "filepath", required = true, dataType = "String", value = "filepath"), @ApiImplicitParam( name = "isRecursion", required = false, @@ -1172,7 +1172,7 @@ private static void deleteAllFiles(FileSystem fileSystem, FsPath fsPath) throws value = "isRecursion"), @ApiImplicitParam( name = "filePermission", - required = false, + required = true, dataType = "String", value = "filePermission"), })