Skip to content

Commit

Permalink
Update default list of members for pagination flagging (#1764)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchache authored May 16, 2023
1 parent 3675c72 commit 2f6553f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ public final class MissingPaginatedTraitValidator extends AbstractValidator {
private static final Set<String> DEFAULT_VERBS_REQUIRE = SetUtils.of("list", "search");
private static final Set<String> DEFAULT_VERBS_SUGGEST = SetUtils.of("describe", "get");
private static final Set<String> DEFAULT_INPUT_MEMBERS = SetUtils.of(
"maxresults", "pagesize", "limit", "nexttoken", "pagetoken", "token");
"maxresults", "maxitems", "pagesize", "limit",
"nexttoken", "pagetoken", "token", "marker");
private static final Set<String> DEFAULT_OUTPUT_MEMBERS = SetUtils.of(
"nexttoken", "pagetoken", "token", "marker", "nextpage");
"nexttoken", "pagetoken", "token", "marker", "nextpage", "nextpagetoken", "position", "nextmarker",
"paginationtoken", "nextpagemarker");

public static final class Config {
private Set<String> verbsRequirePagination = DEFAULT_VERBS_REQUIRE;
Expand Down

0 comments on commit 2f6553f

Please sign in to comment.