Closed reuvenharrison closed 5 months ago
Attention: Patch coverage is 53.47044%
with 181 lines
in your changes are missing coverage. Please review.
Project coverage is 83.12%. Comparing base (
05b7335
) to head (1a24a95
).:exclamation: Current head 1a24a95 differs from pull request most recent head b60ac34. Consider uploading reports for the commit b60ac34 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR adds diff support for OpenAPI Extensions. The Extension diff format conforms with JavaScript Object Notation (JSON) Patch, for example:
Behavior Change
Prior to this PR
oasdiff diff
command didn't report changes to OpenAPI Extensions. After this PR, the diff will include changes to OpenAPI Extensions by default. Users can revert to the old behavior (ignoring extensions), by setting--exclude-elements=extensions
.This PR also removes the
--exclude-elements
flag fromoasdiff breaking
andoasdiff changelog
commands since allowing users to exclude elements in these commands may have unexpected effects like, for example, disabling the tests that depend onx-sunset
.