response-property-default-value-changed
Response property default value changed.
Not breaking (level: info)
oasdiff records this in the changelog but does not fail CI by default. Clients that worked under the old contract still work, so existing clients are not affected.
What this check detects
The `default` of a response property changed. In a response, the default documents the value the server uses for the field when it is otherwise unset; changing it is a behavior note rather than a change to the shape of the contract.
oasdiff reports this as informational.
Example
The documented default for pageSize changed from 20 to 50. The response shape is unchanged.
Change its severity
oasdiff reports response-property-default-value-changed as informational, so it does not fail CI. To treat it as a warning or an error under your own compatibility policy, or to turn it off, set its level in a severity-levels file:
Put one rule per line; the level can be err, warn, or info, or none to disable the check entirely:
# severity.txt
response-property-default-value-changed errThen pass it to oasdiff:
oasdiff changelog base.yaml revision.yaml --severity-levels severity.txt