406 response not defined

Description

The 406 response is missing on one or more operations in your API that should have it defined. All operations that do not have 204 response  defined and that have the produces property constraining the response MIME type should have 406 response defined.

Remediation

Define 406 responses for all operations that do not have 204 responses but that have the produced MIME type restricted.


Get API Security news directly in your Inbox.

By clicking Subscribe you agree to our Data Policy