Skip to content

VerifyApiContractOptions<TContract>

Options for verifyApiContract.

Import:

import type { VerifyApiContractOptions } from '@mnaoumov/typescript-lib/api-contract-verifier';

Signature:

export interface VerifyApiContractOptions<TContract extends ApiContract>

Properties

PropertyTypeDescription
casesReadonly<Record<keyof TContract & string, ApiMethodCases>>The sample payloads, one entry per method of the contract.
vendorstringThe Standard Schema vendor every schema must report.

Links to this page: