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 support for blacklisting rules #6

Closed macisamuele closed 5 years ago

macisamuele commented 5 years ago

Fixes: #5

The goal of this PR is to add support for blacklisting rules via CLI parameters. In order to achieve it we're using mutually exclusive CLI arguments, such that it would not be possible to have whitelist and blacklist defined at the same time.

codecov[bot] commented 5 years ago

Codecov Report

Merging #6 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master     #6   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          58     58           
  Lines        1724   1728    +4     
  Branches      104    104           
=====================================
+ Hits         1724   1728    +4
Impacted Files Coverage Δ
tests/cli/run_test.py 100% <ø> (ø) :arrow_up:
swagger_spec_compatibility/cli/run.py 100% <100%> (ø) :arrow_up:
swagger_spec_compatibility/cli/common.py 100% <100%> (ø) :arrow_up:
swagger_spec_compatibility/cli/__init__.py 100% <100%> (ø) :arrow_up:
swagger_spec_compatibility/cli/explain.py 100% <100%> (ø) :arrow_up:
tests/cli/common_test.py 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 45672c9...74ed5da. Read the comment docs.