This is an automated email from the ASF dual-hosted git repository.
lidongdai 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 472723d Fix document errors (#2382)
472723d is described below
commit 472723d7e69406d77da75b70fa2be423b8a5f3db
Author: BoYiZhang <[email protected]>
AuthorDate: Wed Apr 8 22:30:31 2020 +0800
Fix document errors (#2382)
* Remove invalid code
* fix document errors
Co-authored-by: zhanglong <[email protected]>
Co-authored-by: dailidong <[email protected]>
---
.../apache/dolphinscheduler/api/controller/SchedulerController.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/SchedulerController.java
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/SchedulerController.java
index 96038dc..d246a0f 100644
---
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/SchedulerController.java
+++
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/SchedulerController.java
@@ -76,7 +76,7 @@ public class SchedulerController extends BaseController {
@ApiOperation(value = "createSchedule", notes= "CREATE_SCHEDULE_NOTES")
@ApiImplicitParams({
@ApiImplicitParam(name = "processDefinitionId", value =
"PROCESS_DEFINITION_ID", required = true, dataType = "Int", example = "100"),
- @ApiImplicitParam(name = "schedule", value = "SCHEDULE", dataType
= "Int", example = "100"),
+ @ApiImplicitParam(name = "schedule", value = "SCHEDULE", dataType
= "String", example = "{'startTime':'2019-06-10 00:00:00','endTime':'2019-06-13
00:00:00','crontab':'0 0 3/6 * * ? *'}"),
@ApiImplicitParam(name = "warningType", value = "WARNING_TYPE",
type ="WarningType"),
@ApiImplicitParam(name = "warningGroupId", value =
"WARNING_GROUP_ID", dataType = "Int", example = "100"),
@ApiImplicitParam(name = "failureStrategy", value =
"FAILURE_STRATEGY", type ="FailureStrategy"),
@@ -132,7 +132,7 @@ public class SchedulerController extends BaseController {
@ApiOperation(value = "updateSchedule", notes= "UPDATE_SCHEDULE_NOTES")
@ApiImplicitParams({
@ApiImplicitParam(name = "id", value = "SCHEDULE_ID", required =
true, dataType = "Int", example = "100"),
- @ApiImplicitParam(name = "schedule", value = "SCHEDULE", dataType
= "Int", example = "100"),
+ @ApiImplicitParam(name = "schedule", value = "SCHEDULE", dataType
= "String", example = "{'startTime':'2019-06-10 00:00:00','endTime':'2019-06-13
00:00:00','crontab':'0 0 3/6 * * ? *'}"),
@ApiImplicitParam(name = "warningType", value = "WARNING_TYPE",
type ="WarningType"),
@ApiImplicitParam(name = "warningGroupId", value =
"WARNING_GROUP_ID", dataType = "Int", example = "100"),
@ApiImplicitParam(name = "failureStrategy", value =
"FAILURE_STRATEGY", type ="FailureStrategy"),