Yelp / swagger-spec-compatibility

Python library to check Swagger Spec backward compatibility
https://swagger-spec-compatibility.readthedocs.org
Apache License 2.0
20 stars 8 forks source link

Add exclude rules CLI argument #5

Closed macisamuele closed 5 years ago

macisamuele commented 5 years ago

Currently the library's CLI interface does allow to selectively select which rules to validate with a whitelist approach. This means that we cannot selectively disable the execution of a single rule in a easy way (we could enable all the rules except the one that we want to disable, but it would not scale with versions update as new rules will be ignored as well).

The idea of this issue is to add a new CLI flag (ie. --exclude-rules) which blacklists certain rules from being executed