...
Explained below are the pre-defined, standard validators available in the WSO2 Data Services Server.
Long Range Validator
Used to validate Validates an integer value and check checks if it is in the specified range. The validator requires minimum and the maximum values of the range to be validated. For example,
Double Range Validator
Validates a floating point value and checks if it is in the specified range. The validator requires minimum and the maximum values of the range to be validated. For example,
Length Validator
Validates the string length of a given parameter. The length should be given for validation. For example,
Pattern Validator
Validates the string value of the parameter against a given regular expression. If the regular expression matches the target parameter, the validator succeeds; else it fails. The validator requires the regular expression to be passed in for validation.
Custom Validators
...