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

Create simple tool to create skeleton of new rules #26

Closed macisamuele closed 4 years ago

macisamuele commented 4 years ago

In the spirit of helping new contributors to get onboard and to help us creating new rules if needed I'm providing a tool that might help with the creation of a new rule.

The tool takes care of creating the skeleton files needed to implement the rules as well as for its documentation.

The tool is definitely not the most nice looking python code, but I thought that was OK-ish to have something more verbose that bootstraps a new rule.

codecov[bot] commented 4 years ago

Codecov Report

Merging #26 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #26   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          60     60           
  Lines        1898   1898           
  Branches      121    121           
=====================================
  Hits         1898   1898
Impacted Files Coverage Δ
swagger_spec_compatibility/rules/common.py 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 dbe71f1...03a6284. Read the comment docs.