OpenAPITools / OpenAPITools/openapi-generator
[REQ] [Java-Spring] Pagination
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
It would be very useful if we can specify paging in responses in spring library.
For example If I want to generate paged result with CustomerInfo it should look like ResponseEntity<Page<CustomerInfo>>. I think currently there's no template for this. If somebody can guide me I can create template or other parts which are needed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the Java Spring generator templates and the existing response-generation paths. Determine how paged responses such as ResponseEntity<Page> should be represented, then add the required template or related changes and coverage demonstrating the generated result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100