request-body-default-value-changed
Request body default value modified.
directionrequestareaschemakindvaluesactionchange
Not breaking (level: info)
oasdiff reports this in the changelog but does not treat it as a breaking change, so it does not fail CI by default.
Example
requestBody:
content:
application/json:
schema:
type: integer
default: 10requestBody:
content:
application/json:
schema:
type: integer
default: 20The value applied when the client omits the request body changed from 10 to 20.
Change its severity or ignore it
To change the severity oasdiff assigns to request-body-default-value-changed, list its id and a level in a severity-levels file, one rule per line. The level can be err, warn, or info, or none to disable the check entirely:
# severity.txt
request-body-default-value-changed errThen pass it to oasdiff:
oasdiff changelog base.yaml revision.yaml --severity-levels severity.txtSetting the level to none disables the check, so it is no longer reported at all.