optional-response-header-removed
Optional response header deleted.
directionresponseareaheaderskindexistenceactionremove
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.
Change its severity or ignore it
To change the severity oasdiff assigns to optional-response-header-removed, 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
optional-response-header-removed 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.