diff --git a/modules/api/src/main/smithy/federations.smithy b/modules/api/src/main/smithy/federations.smithy index 743f1e0..7b7389a 100644 --- a/modules/api/src/main/smithy/federations.smithy +++ b/modules/api/src/main/smithy/federations.smithy @@ -21,7 +21,7 @@ operation GetFederationsSummary { @httpQuery("page") page: PageNumber = "1" @httpQuery("page_size") - @range(min: 1, max: 100) + @range(max: 100) pageSize: PageSize = 30 } @@ -62,7 +62,7 @@ operation GetFederationPlayersById { @httpQuery("page") page: PageNumber = "1" @httpQuery("page_size") - @range(min: 1, max: 100) + @range(max: 100) pageSize: PageSize = 30 } diff --git a/modules/api/src/main/smithy/players.smithy b/modules/api/src/main/smithy/players.smithy index 91c796b..f5fd6fb 100644 --- a/modules/api/src/main/smithy/players.smithy +++ b/modules/api/src/main/smithy/players.smithy @@ -24,7 +24,7 @@ operation GetPlayers { page: PageNumber = "1" @httpQuery("page_size") - @range(min: 1, max: 100) + @range(max: 100) pageSize: PageSize = 30 }