Editorial question32.4K views1,308 votes0 answers914 following
AI-generatedDoes JHipster-generated Spring Data REST enforce a maximum page size to prevent memory exhaustion?
JHipster generates Spring Data REST controllers that accept Pageable parameters for pagination and sorting, using a default page size of 20 items per page as defined in the generated application.yml. The generated code does not include any server‑side validation that rejects requests with an excessively large size parameter, which could lead to unbounded res