Skip to content

fix: update page validation to allow zero as a valid page number#402

Open
aazizali wants to merge 1 commit intodevelopfrom
bugfix/update-page-validation-allow-zero-page-number
Open

fix: update page validation to allow zero as a valid page number#402
aazizali wants to merge 1 commit intodevelopfrom
bugfix/update-page-validation-allow-zero-page-number

Conversation

@aazizali
Copy link
Copy Markdown
Contributor

@aazizali aazizali commented Jul 8, 2025

  • update page validation to allow zero as a valid page number

@aazizali aazizali requested a review from a team as a code owner July 8, 2025 19:51
@aazizali aazizali requested a review from KanG98 July 8, 2025 19:51
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 8, 2025

CLA assistant check
All committers have signed the CLA.

@@ -25,7 +25,7 @@ public class PageInformation {
* The page requested of the results.
* Must be greater than or equal to 1.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @aazizali Please update the above comment "Must be greater than or equal to 1." to have 0.

@aazizali aazizali force-pushed the bugfix/update-page-validation-allow-zero-page-number branch from ca7a8cb to 2020046 Compare July 8, 2025 20:17
* Must be greater than or equal to 0.
*/
@Min(value = 1)
@Min(value = 0)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants