Azure / openapi-diff

Command line tool to detect breaking changes between two openapi specifications
MIT License
266 stars 37 forks source link

Adding an enum to a paramter causing Null Exception #143

Closed veronicagg closed 5 years ago

veronicagg commented 5 years ago

Case where https://github.com/Azure/azure-rest-api-specs/tree/master/specification/automation/resource-manager/readme.md is called for source tag: package-2015-10 target tag: pacakge-2017-05-preview

It was throwing ArgumentNullException.

With this fix, it reports proper message, indicating, there's a stricter constraint on the parameter.