Open Source API Gateway

field

Version

A form parameter to validate: if the parameter is present and its value does not match the given regular expression, the request is rejected. A request that does not contain the parameter at all passes.

Syntax

formValidation-field:
name: <string> # required
regex: <string> # required
formValidation-field:
  name: <string> # required
  regex: <string> # required

Attributes

NameRequiredDefaultDescriptionExamples
nametrue-Name of the form parameter.age
regextrue-Java Regular expression\d+

Can be used in