Body parameter must not define additional properties

Description

The body parameter in question defines more properties than allowed. Body parameters must only define name, in , description, required and schema properties.

This applies only to OpenAPI Specification (OAS) v2. For more details, see the OAS.

Remediation

Make sure that body parameters only define name, in , description, required and schema properties. Remove other properties.


Get API Security news directly in your Inbox.

By clicking Subscribe you agree to our Data Policy