openapi-diff
openapi-diff copied to clipboard
Fix: BUG#348 Parameter change detection fix when path doesn't change but PathParams AND Parameters are changed (But named the same)
- When endpoint pathParams change and Parameter names are changed to be similar to pathParams
- Don't remove parameters from the path
- This allows the
ChangedParameter classto not lose parameters anddetect/returnchanges
Fixes: #353
OperationsDiff.java:
removePathParameters(context.getParameters(), params);
removes Parameters which are marked - in: path
So changes to the schema for those parameters are not detected anymore when
.getParametersDiff().diff(... is run after removal
tagging @joschi for visibility