Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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, Image Added

Length Validator

Validates the string length of a given parameter. The length should be given for validation. For example, Image Added

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. Image Added

Custom Validators

...