Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
introduce page parameter to schedule users api
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinSi96 committed Dec 20, 2023
1 parent 465f579 commit 659cf3f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions app/src/main/resources/swagger/api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4571,6 +4571,16 @@
"type" : "integer",
"format" : "int32"
}
}, {
"name" : "page",
"in" : "query",
"description" : "page",
"required" : false,
"style" : "form",
"schema" : {
"type" : "integer",
"format" : "int32"
}
}, {
"name" : "productsFilter",
"in" : "query",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ public interface SchedulerService {

void startScheduler(Optional<Integer> size, List<String> productsFilter);

void startUsersScheduler(Optional<Integer> size, List<String> productsFilter, Optional<String> userId);
void startUsersScheduler(Optional<Integer> size,Optional<Integer> page, List<String> productsFilter, Optional<String> userId);
}

0 comments on commit 659cf3f

Please sign in to comment.