swagger-diff icon indicating copy to clipboard operation
swagger-diff copied to clipboard

Diff Models

Open gustavlasko opened this issue 8 years ago • 1 comments

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.

gustavlasko avatar Aug 28 '17 20:08 gustavlasko

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!

jeffreyc avatar Aug 28 '17 21:08 jeffreyc