Make the input explicit.
Missing, null and empty are different questions. Write the case down before you trust the answer.
A request is a question.
A fixture makes the answer testable.
Build the habit right here.
/catalogPagination and empty result
content-type: application/json x-example-mode: offline cache-control: no-store
Missing, null and empty are different questions. Write the case down before you trust the answer.
Check the contract, not an incidental timestamp. A small fixture should survive an unrelated change.
The wrong input is part of the interface. A predictable error is as useful as a successful response.
Examples that remain useful after the first successful call.
Read the guide ↗02 / EdgeKitA focused checklist for request and response validation.
Read the guide ↗03 / EdgeKitHow to distinguish additive changes from surprising behaviour.
Read the guide ↗A fixture can document an interface independently. Executing it requires a suitable endpoint and separately supplied credentials.
Check the contract, not incidental formatting. Allow documented optional fields and generated values while validating the parts consumers rely on.
Synthetic examples are preferable. Remove secrets and personal information before any request or response is shared.
One normal request, a meaningful empty case, invalid input and a boundary case for the operation. Expand it when a real regression reveals a gap.