Skip to content

Commit

Permalink
Add @ApiImplicitParam for new taskId query parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarrez committed Oct 17, 2023
1 parent aa1ed15 commit 196166a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public class TaskCollectionResource extends TaskBaseResource {

@ApiOperation(value = "List of tasks", nickname="listTasks", tags = { "Tasks" })
@ApiImplicitParams({
@ApiImplicitParam(name = "taskId", dataType = "string", value = "Only return tasks with the given id.", paramType = "query"),
@ApiImplicitParam(name = "name", dataType = "string", value = "Only return tasks with the given version.", paramType = "query"),
@ApiImplicitParam(name = "nameLike", dataType = "string", value = "Only return tasks with a name like the given name.", paramType = "query"),
@ApiImplicitParam(name = "nameLikeIgnoreCase", dataType = "string", value = "Only return tasks with a name like the given name ignoring case.", paramType = "query"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public class TaskCollectionResource extends TaskBaseResource {

@ApiOperation(value = "List of tasks", nickname="listTasks", tags = { "Tasks" })
@ApiImplicitParams({
@ApiImplicitParam(name = "name", dataType = "string", value = "Only return models with the given version.", paramType = "query"),
@ApiImplicitParam(name = "taskId", dataType = "string", value = "Only return tasks with the given id.", paramType = "query"),
@ApiImplicitParam(name = "name", dataType = "string", value = "Only return tasks with the given version.", paramType = "query"),
@ApiImplicitParam(name = "nameLike", dataType = "string", value = "Only return tasks with a name like the given name.", paramType = "query"),
@ApiImplicitParam(name = "nameLikeIgnoreCase", dataType = "string", value = "Only return tasks with a name like the given name ignoring case.", paramType = "query"),
@ApiImplicitParam(name = "description", dataType = "string", value = "Only return tasks with the given description.", paramType = "query"),
Expand Down

0 comments on commit 196166a

Please sign in to comment.