There’s a dangerous sentence in API design: “Don’t worry, it won’t be that many records.”
That’s how unpaginated collection endpoints get shipped.
GET /users
Returns a JSON array.
No limit? No page? No cursor?
Works perfectly.
Until production data grows.
Then latency grows. Memory grows. Payload size grows.
And suddenly your “simple” endpoint becomes a scaling liability.
Rentgen flags this pattern automatically:
• GET endpoint
• JSON array response
• No pagination or limit parameters
It’s not a failure.
It’s a warning about future technical debt.
Because unbounded lists don’t break immediately.
They break when your product succeeds.
Full breakdown here: https://rentgen.io/api-stories/array-list-without-pagination.html
Fix it while it’s boring.
Top comments (0)