Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: to adjust default value and description of the page parameter when enabled spring.data.web.pageable.one-indexed-parameters property. #1754

Merged
merged 1 commit into from Jul 30, 2022

Conversation

marcospds
Copy link

When the property spring.data.web.pageable.one-indexed-parameters is enabled, the page starts at 1 and not at 0, so the description and the default value are incoherent.

To simulate the behavior this project can be used: https://github.com/marcospds/springdoc-one-indexed-parameters

@bnasslahsen bnasslahsen merged commit fdc2998 into springdoc:master Jul 30, 2022
@bnasslahsen
Copy link
Contributor

Thank you @marcospds for your contribution to the project!

bnasslahsen pushed a commit that referenced this pull request Jul 30, 2022
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.

None yet

2 participants