Endava / cats

CATS is a REST API Fuzzer and negative testing tool for OpenAPI endpoints. CATS automatically generates, runs and reports tests with minimum configuration and no coding effort. Tests are self-healing and do not require maintenance.
Apache License 2.0
1.11k stars 76 forks source link

Regex gen fix #95

Closed binaryArrow closed 5 months ago

binaryArrow commented 5 months ago

I had a weird Exception when using an openapi spec with a regex Pattern like this:

      pattern: "^(M-\\d{1,12})$"
      maxLength: 14

reproduced it with a test and found a solution which works for me.

en-milie commented 5 months ago

Looks good.