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

Add pageSize and pageNumber to swagger #789

Closed
sergioasantiago opened this issue Oct 5, 2020 · 3 comments
Closed

Add pageSize and pageNumber to swagger #789

sergioasantiago opened this issue Oct 5, 2020 · 3 comments
Labels
enhancement New feature or request p2 Non-critical bugs, and features that help organizations to identify and reduce risk

Comments

@sergioasantiago
Copy link
Contributor

As a follow up to this closed issue #209
I would like to suggest an addition of the query parameters pageNumber and pageSize to swagger definition.

When using a swagger-codegen, this parameters are missing, and there is no way to paginate the e.g: projects api

@sergioasantiago sergioasantiago added the enhancement New feature or request label Oct 5, 2020
@stevespringett
Copy link
Member

Currently, the swagger docs are auto generated and awful at best. Use them as a guide because the reflection support for the Java implementation is less than stellar.

The only way that I've found to accurately create swagger from complex Java systems is to manually create and maintain it - bypassing all autogenerated swagger docs.

In the future, I'll likely rip out the autogenerated swagger and replace it with an actual swagger file that is manually maintained.

@stevespringett stevespringett added the p2 Non-critical bugs, and features that help organizations to identify and reduce risk label Oct 5, 2020
@stevespringett
Copy link
Member

Closing and incorporating these changes into #840. Please follow that ticket for updates.

@github-actions
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request p2 Non-critical bugs, and features that help organizations to identify and reduce risk
Projects
None yet
Development

No branches or pull requests

2 participants