Browse Source

[dolphinscheduler-api][task-group-controller] Corrected notes for create, update and queryTaskGroupByStatus (#9176)

3.0.0/version-upgrade
mans2singh 3 years ago committed by GitHub
parent
commit
4b3401a418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/TaskGroupController.java

6
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/TaskGroupController.java

@ -71,7 +71,7 @@ public class TaskGroupController extends BaseController {
* @param name project id * @param name project id
* @return result and msg code * @return result and msg code
*/ */
@ApiOperation(value = "create", notes = "CREATE_TAKS_GROUP_NOTE") @ApiOperation(value = "create", notes = "CREATE_TASK_GROUP_NOTE")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(name = "name", value = "NAME", dataType = "String"), @ApiImplicitParam(name = "name", value = "NAME", dataType = "String"),
@ApiImplicitParam(name = "projectCode", value = "PROJECT_CODE", type = "Long"), @ApiImplicitParam(name = "projectCode", value = "PROJECT_CODE", type = "Long"),
@ -102,7 +102,7 @@ public class TaskGroupController extends BaseController {
* @param name project id * @param name project id
* @return result and msg code * @return result and msg code
*/ */
@ApiOperation(value = "update", notes = "UPDATE_TAKS_GROUP_NOTE") @ApiOperation(value = "update", notes = "UPDATE_TASK_GROUP_NOTE")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(name = "id", value = "id", dataType = "Int"), @ApiImplicitParam(name = "id", value = "id", dataType = "Int"),
@ApiImplicitParam(name = "name", value = "NAME", dataType = "String"), @ApiImplicitParam(name = "name", value = "NAME", dataType = "String"),
@ -159,7 +159,7 @@ public class TaskGroupController extends BaseController {
* @param pageSize page size * @param pageSize page size
* @return queue list * @return queue list
*/ */
@ApiOperation(value = "queryTaskGroupByStatus", notes = "QUERY_TASK_GROUP_LIST_BY_STSATUS_NOTES") @ApiOperation(value = "queryTaskGroupByStatus", notes = "QUERY_TASK_GROUP_LIST_BY_STATUS_NOTES")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(name = "pageNo", value = "PAGE_NO", required = true, dataType = "Int", example = "1"), @ApiImplicitParam(name = "pageNo", value = "PAGE_NO", required = true, dataType = "Int", example = "1"),
@ApiImplicitParam(name = "pageSize", value = "PAGE_SIZE", required = true, dataType = "Int", example = "20"), @ApiImplicitParam(name = "pageSize", value = "PAGE_SIZE", required = true, dataType = "Int", example = "20"),

Loading…
Cancel
Save