Interface: SchemaMismatchIssue
Defined in: src/core/schemaMismatch.ts:5
One place where the response and the schema disagreed.
Properties
expected
ts
expected: string;Defined in: src/core/schemaMismatch.ts:9
What the schema expected there.
path
ts
path: string;Defined in: src/core/schemaMismatch.ts:7
Dotted path to the value, e.g. values.0.created. Empty for the response root.
received
ts
received: string;Defined in: src/core/schemaMismatch.ts:14
What arrived, named by its type rather than quoted — except when the schema named a closed set of values, where the value that was not in the set is quoted instead. See the note on SchemaMismatchReport.