Interface IValidateAjvOptions

Options for 'validateAjv()' function.

interface IValidateAjvOptions {
    noAutoUpdate?: Nilable<boolean>;
    onValidationFailed?: Nilable<SchemaValidationFailedHandler>;
    options?: Nilable<Options>;
    validatorClass?: Nilable<Constructor<any>>;
}

Properties

noAutoUpdate?: Nilable<boolean>

Indicates if there should be no auto update of final schema.

Default

false

onValidationFailed?: Nilable<SchemaValidationFailedHandler>

The custom error handler.

options?: Nilable<Options>

Custom options for Ajv instance.

validatorClass?: Nilable<Constructor<any>>

A custom validator class.

Generated using TypeDoc