zhuangchong commented on a change in pull request #7877:
URL: https://github.com/apache/dolphinscheduler/pull/7877#discussion_r781757029



##########
File path: 
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ExecutorController.java
##########
@@ -116,13 +116,13 @@
     public Result startProcessInstance(@ApiIgnore @RequestAttribute(value = 
Constants.SESSION_USER) User loginUser,
                                        @ApiParam(name = "projectCode", value = 
"PROJECT_CODE", required = true) @PathVariable long projectCode,
                                        @RequestParam(value = 
"processDefinitionCode") long processDefinitionCode,
-                                       @RequestParam(value = "scheduleTime", 
required = false) String scheduleTime,
-                                       @RequestParam(value = 
"failureStrategy", required = true) FailureStrategy failureStrategy,
+                                       @RequestParam(value = "scheduleTime") 
String scheduleTime,

Review comment:
       ```
   @ApiImplicitParam(name = "scheduleTime", value = "SCHEDULE_TIME", dataType = 
"String"),
   @RequestParam(value = "scheduleTime", required = false) String scheduleTime
   ```
   I understand that modifying like this does not require a default value, the 
default value can be empty.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to