OpenAPITools / openapi-diff

Utility for comparing two OpenAPI specifications.
Apache License 2.0
787 stars 152 forks source link

bugfix (to master): after openapi specs comparison, all parameters are removed #454

Closed justinasbardauskas closed 1 year ago

justinasbardauskas commented 1 year ago

bugfix: after openapi specs comparison, all parameters are removed from new spec (right side) because of reused parameters list.

Issue affects 2.0.x and master branches. Ports

gitpod-io[bot] commented 1 year ago

justinasbardauskas commented 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.