Open lukaszkegss opened 8 months ago
This is actually by design and we call it fail-fast. It will prevent attackers from exploiting our application significantly slower. If needed, we can open this as a configuration to turn off the fail-fast for the validator. Thanks.
Hi thank, you Steve, can this be open as an configuration?
Current behaviour When there are multiple validation issues in body only the first one is returned
Expected All validation issues should be returned
Proposed fix:
https://github.com/mservicetech/openapi-schema-validation/blob/7b77cf791695ae6d0205adc0f23d71da8c7b9b47/src/main/java/com/mservicetech/openapi/validation/SchemaValidator.java#L126