-
Notifications
You must be signed in to change notification settings - Fork 8
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
Check the change of "required" for properties in Response schema #26
Comments
Thank you for reporting. |
The The In a Response,
In a Request, it is more subtle:
|
You're right, the problem I had was with the schema, it wasn't about parameters. If I understand correctly what you're suggesting, there should be a new rule added to list of already existing rules right ? I tried with a fork of the repository, so that we can discuss on something concrete. |
Hello,
I would like to have the RequiredStatusChange fail for requests and responses, as for now there is no errors for the following contract change:
I checked the implementation, and it bypasses the check for responses:
The description of the rule, "Checks whether an existing property's required status is changed from the previous specification.", doesn't mention anything about this bypass. Furthermore, I believe changing the "required" status in a response is a breaking change as well.
I'll see if I can investigate and push a PR later on.
The text was updated successfully, but these errors were encountered: