PayloadCases
Sample payloads for one schema.
Import:
import type { PayloadCases } from '@mnaoumov/typescript-lib/api-contract-verifier';Signature:
export interface PayloadCasesProperties
| Property | Type | Description |
|---|---|---|
| invalid | readonly unknown[] | Payloads the schema must refuse. |
| valid | readonly unknown[] | Payloads the schema must accept. |
Links to this page: