Probably best to generate test files from base examples/*/swagger.yaml, as there will be ~20 tests to assert each condition separately. Generator will need to modify specific keys to make them invalid against examples/*/swagger-checkstyle.yaml.
The other option would be to have a horribly disfigured swagger.yaml, and make sure each of the ~20 distinct errors exist.
Probably best to generate test files from base
examples/*/swagger.yaml, as there will be ~20 tests to assert each condition separately. Generator will need to modify specific keys to make them invalid againstexamples/*/swagger-checkstyle.yaml.The other option would be to have a horribly disfigured
swagger.yaml, and make sure each of the ~20 distinct errors exist.