Summary
Sending a negative page size value is an invalid input that should be rejected cleanly. An integration test for this case confirms the server returns a consistent validation error rather than an unexpected result or 500.
Scope
- add an integration test that sends the creator list endpoint with a negative page size param
- assert the response returns a 400 with the expected error shape
- assert no database query is issued for the invalid input
Acceptance Criteria
- a negative page size param returns a 400 response
- the error body matches the standard validation error shape
- the test is distinct from the max page size boundary test
Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg
Summary
Sending a negative page size value is an invalid input that should be rejected cleanly. An integration test for this case confirms the server returns a consistent validation error rather than an unexpected result or 500.
Scope
Acceptance Criteria
Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg