-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleted or renamed properties are marked as backwards compatible #673
Comments
Hello @Patrick-Bayer , I am facing same issue. |
Hello folks, mostly all incompatibility rules are collected in BackwardIncompatibleProp. As you can see it has:
Seems, author decided to only treat new required props on request and missing required props on response as incompatible. So it depends on the point of view. So the openapi-diff as a library should be smart enough to allow to configure of what is considered compatible change, and what is not. This behavior is configurable through the config file, but frankly speaking, it does not cover all possible cases. Good point to extend and review all the rules. |
BTW - REQUEST_BODY_REQUIRED_INCREASED is never used. Looks like a bug. |
Is there an update on this issue? I am also facing the same issue where a compatibility break in terms of schema change in response doesn't mark the diff as incompatible. Below is the example -
This looks like a bug to me, but let me know if there is a configuration which would evaluate this diff as incompatible. |
@nakulshukla08 there is an idea to solve this problem within the scope of discussion. But the first priority at the moment is to get 2.1.0 release happen. Anyway, any contributions to discussion and related issues are appreciated, feel free to contribute. |
Hello folks,
i am testing your library as a maven plugin with version: 'org.openapitools.openapidiff:openapi-diff-core:2.1.0-beta.11' and discovered that the following changes do not result in failure due to backwards incompatibility even though they should, right?
The text was updated successfully, but these errors were encountered: