Enum value for an array is not consistent with the item type

Description

The enum value in an array does not match the type your have specified for the items in the array.

This applies only to OpenAPI Specification (OAS) v2.

Remediation

Make sure that all enum values in arrays match the type defined for the items.


Get API Security news directly in your Inbox.

By clicking Subscribe you agree to our Data Policy