createGeneratedSchemaValidator
createGeneratedSchemaValidator<
T>(schema,_options?): (payload) =>ValidationResult<T>
Defined in: wp-typia-block-runtime/src/schema-test.ts:228
Create a reusable validator for one generated JSON Schema document.
Type Parameters
Section titled “Type Parameters”T = unknown
Parameters
Section titled “Parameters”schema
Section titled “schema”Generated *.schema.json document.
_options?
Section titled “_options?”GeneratedSchemaValidatorOptions = {}
Returns
Section titled “Returns”A shared ValidationResult-shaped validator suitable for smoke tests.
(payload) => ValidationResult<T>