civisanalytics / swagger-diff

Utility for comparing two Swagger specifications.
BSD 3-Clause "New" or "Revised" License
264 stars 32 forks source link

Diff Models #55

Open gustavlasko opened 7 years ago

gustavlasko commented 7 years ago

It would be really useful if swagger-diff would report changes within the models themselves, such as the removal of a field or making a field required.

jeffreyc commented 7 years ago

Thank you for your feedback! Unfortunately, we're juggling a few different priorities at this time, and I don't know that we'll get around to adding this functionality. If you're interested, we'd welcome a PR adding this feature. I imagine this would entail adding a new command-line argument, a path through the code that starts with the definitions and disables recursion, new output functionality, and corresponding test coverage. We'd be happy to review a PR, and appreciate the contribution!