request-body-exclusive-max-set

Request body exclusiveMaximum set.

directionrequestareaschemakindconstraintsactionset

Potentially breaking (level: warning)

oasdiff reports this as a warning: it breaks clients only in some cases, so it is surfaced for review rather than failing CI outright.

Mitigation

This is a warning because the restriction is sometimes legitimately required. Before making such a change, confirm that clients can handle the new restriction.

Change its severity or ignore it

To change the severity oasdiff assigns to request-body-exclusive-max-set, 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-exclusive-max-set err

Then pass it to oasdiff:

oasdiff changelog base.yaml revision.yaml --severity-levels severity.txt

Setting the level to none disables the check, so it is no longer reported at all.

Related schema rules

Browse all 500 checks →