yyqdbngt opened a new pull request, #3455:
URL: https://github.com/apache/rocketmq-dashboard/pull/3455

   ### Summary
   
   `ToolListPagination` is the shared paging helper for list-style AI tool 
handlers. It had no tests.
   
   ### Changes
   
   - `page` and `pageSize` default to 1 and 20 when absent or `null`
   - Positive numbers pass through; zero, negatives and non-numeric values are 
rejected with field-specific messages
   - `pagedResult` exposes `items`, `total`, `page` and `size` under a stable 
key order
   
   ### Testing
   
   `mvn test -Dtest=ToolListPaginationTest` passes: 5 tests, 0 failures (first 
test for this class).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to