Closed justinasbardauskas closed 1 year ago
joschi I found a bug where after comparison request parameters are removed from "new spec" OpenAPI object, because in the diff
method list.remove(...)
method was used on original list (method argument).
I created PR to master
and 2.0.x
branches.
Please review, thanks.
bugfix: after openapi specs comparison, all parameters are removed from new spec (right side) because of reused parameters list.
diff
method. Root cause (before fix) https://github.com/OpenAPITools/openapi-diff/blob/f595a84b9620d2ea65a9b0b71364810e4e3003d4/core/src/main/java/org/openapitools/openapidiff/core/compare/ParametersDiff.java#L66Issue affects
2.0.x
andmaster
branches. Ports2.0.x
: https://github.com/OpenAPITools/openapi-diff/pull/453master
: https://github.com/OpenAPITools/openapi-diff/pull/454