swagger-diff icon indicating copy to clipboard operation
swagger-diff copied to clipboard

Should not detect a breaking change when corresponding basePath & operationChange lead to same Endpoints.

Open LasseGosch opened this issue 5 years ago • 0 comments
trafficstars

Added taking basePath into consideration when checking if endpoints have changed.

A changed basePath with a corresponding change of the operation paths could lead to unchanged endpoints and should not be detected as a breaking change.

Added a test (in SwaggerDiffTest) and resources (.yamls) for that case.

Removed unused SWAGGER_V2_HTTP from SwaggerDiffTest.

LasseGosch avatar Dec 06 '19 13:12 LasseGosch