This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 4c8f060  fix api swagger params error. (#4818)
4c8f060 is described below

commit 4c8f06002f61180bfcdb7b4b703609ee09e7d3a4
Author: zhuangchong <[email protected]>
AuthorDate: Sat Feb 20 08:16:24 2021 +0800

    fix api swagger params error. (#4818)
---
 .../org/apache/dolphinscheduler/api/controller/ProjectController.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ProjectController.java
 
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ProjectController.java
index 7cb8153..1d45058 100644
--- 
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ProjectController.java
+++ 
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ProjectController.java
@@ -159,8 +159,8 @@ public class ProjectController extends BaseController {
     @ApiOperation(value = "queryProjectListPaging", notes = 
"QUERY_PROJECT_LIST_PAGING_NOTES")
     @ApiImplicitParams({
             @ApiImplicitParam(name = "searchVal", value = "SEARCH_VAL", 
dataType = "String"),
-            @ApiImplicitParam(name = "projectId", value = "PAGE_SIZE", 
dataType = "Int", example = "20"),
-            @ApiImplicitParam(name = "projectId", value = "PAGE_NO", dataType 
= "Int", example = "1")
+            @ApiImplicitParam(name = "pageSize", value = "PAGE_SIZE", required 
= true, dataType = "Int", example = "20"),
+            @ApiImplicitParam(name = "pageNo", value = "PAGE_NO", required = 
true, dataType = "Int", example = "1")
     })
     @GetMapping(value = "/list-paging")
     @ResponseStatus(HttpStatus.OK)

Reply via email to