Minor changes to ParameterDiff and supporting class ListDiff to make the swagger-diff tool report when a parameter has been changed.
Example: Say a path parameter changes from type String to integer. This breaks backwards compatibility.
ListDiff change:
The ListDiff class previously attempted to remove elements from the 'increased' list using a call to equals. But since the two Parameters are not equal the element was not removed from the list (which it ought to be since the parameter is not new, only changed.
ParameterDiff change:
Previously the logic only handled BodyParameters.
Minor changes to ParameterDiff and supporting class ListDiff to make the swagger-diff tool report when a parameter has been changed. Example: Say a path parameter changes from type String to integer. This breaks backwards compatibility.
ListDiff change: The ListDiff class previously attempted to remove elements from the 'increased' list using a call to equals. But since the two Parameters are not equal the element was not removed from the list (which it ought to be since the parameter is not new, only changed.
ParameterDiff change: Previously the logic only handled BodyParameters.