openapi-validator
0.1.0
jvm
core
/
io.github.stefankoppier.openapi.validator.core.rules.primitives
/
StringRule
/
matches
matches
fun
matches
(
regex
:
Regex
)
:
StringRule
(
source
)
Validate that the element matches
regex
.
Return
The rule on which this method has been invoked.