You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As demonstrated by recently added unit tests, increasing a response numeric range is currently deemed compatible, but should be deemed incompatible because the client may be unprepared for the wider range. Ideally it would be incompatible by default, but at least making it configurable would address the need.
The text was updated successfully, but these errors were encountered:
westse
added a commit
to westse/openapi-diff
that referenced
this issue
Jul 26, 2023
- Responses should be incompatible if a numeric range widens.
- See OpenAPITools#550
- See later commit which makes configurable the enabling/disabling of this incompatibility check (disabled by default to avoid a breaking change)
westse
added a commit
to westse/openapi-diff
that referenced
this issue
Jul 26, 2023
config-file and config-prop CLI options
- Gives user fine-grained control of what constitutes an incompatibile change.
Maven plugin config parameters
- configFiles param for a separate yaml config file Corresponds to CLI --config-file option.
- configProps param for specifying config props in pom.xml. Corresponds to CLI --config-prop option.
- OpenApiDiffMojoTest updated to verify parameters work.
Relies on recent exhaustive testing of incompatible checks to ensure no regressions (see #545).
Fix#551Fix#550Fix#303
As demonstrated by recently added unit tests, increasing a response numeric range is currently deemed compatible, but should be deemed incompatible because the client may be unprepared for the wider range. Ideally it would be incompatible by default, but at least making it configurable would address the need.
The text was updated successfully, but these errors were encountered: