civisanalytics / swagger-diff

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

Please add XML output #42

Open SelAnt opened 7 years ago

SelAnt commented 7 years ago

Hi,

Great job!

Just please add XML output option to be able to use this great tool in different automatons.

Thank you,

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 don't think it'd be too difficult to add support for different output formats: a new command-line argument, some forking behavior, a subclass of Swagger::Diff::Diff that renders XML instead of formatted text, and corresponding test coverage. We'd be happy to review a PR, and appreciate the contribution!