Examples
coming soon . . .
Conditions
IF - THEN
OpenValidation defines conditions and actions of each rule with IF - THEN terms. Every rule has to have at least one keyword.
Alternative rule expressions
Alternative expressions are containing the indicator-keywords. The condition is an implicit negation.
Implicit condition
You can use implicit conditions for boolean expressions .
Multiple conditions
AND
OR
Complex condition
You have to pay attention to indents for complex conditions
Arithmetic examples
String operations are not possible at the moment
Variables
Numeric values
Strings
Boolean expressions
Arithmetic expressions
Comments
OpenAPI
OpenVALIDATION ships a OpenAPI plugin, which defines the validationrules for the serviceoperations.
Last updated