We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently adding/changing/removing a 'default' is not detected.
V1
schema: type: integer
V2 (with 'default' added)
schema: type: integer default: -1
Same with changing/removing it.
The text was updated successfully, but these errors were encountered:
@michael-schnell Thanks for reporting this!
I think adding a default for a property is a compatible change and removing it is a breaking change.
What do you think?
Sorry, something went wrong.
This is difficult. I guess this depends on where the default is located (request or response) and what kind of change it is.
The default value represents what would be assumed by the consumer of the input as the value of the schema if one is not provided.
This means that the default only matters when nullable: true.
nullable: true
Response (Backward compatibility required)
Request (Forward compatibility required)
No branches or pull requests
Currently adding/changing/removing a 'default' is not detected.
V1
V2 (with 'default' added)
Same with changing/removing it.
The text was updated successfully, but these errors were encountered: