Closed ctwinovalon closed 3 months ago
Looks like this section: https://github.com/Endava/cats/blob/44fb35199dcdc17d12f23059ae3765687bdf841c/src/main/java/com/endava/cats/generator/simple/StringGenerator.java#L125-L132
The test if (initialValue.length() != length) {
should be if (initialValue.length() > 0 && initialValue.length() != length) {
Hi @ctwinovalon. Can you please attach an OpenApi spec i can use to reproduce the issue?
Thank you for providing the specs. This is now fixed in: https://github.com/Endava/cats/commit/1f936a9b8a80232a9bcb9a56f5e2c4b777fb38c7
It should be fixed in: https://github.com/Endava/cats/releases/tag/cats-11.7.0
Ran --server xyz --contract file.json
Ran for a while on various endpoints and died on one of them with: