ValidationOptions
Hierarchy
- ValidationOptions
Index
Properties
optionaldefaultValidator
optionalerrorStatus
The status code to return when validation fails, default is 422.
optionallocale
The locale to use for validation messages.
optionalthrowValidateError
Whether to throw a validation error, default is true. If set to false, the validation error will be returned.
optionalvalidators
The validators to use for validation.
The default validator to use for validation.