Property 'allowEmptyValue' is only allowed for query parameters


The parameter in question has the allowEmptyValue property defined, but it is not a query or a formData parameter. Only query and formData parameters can have the allowEmptyValue property defined.

For more details, see the OpenAPI Specification.


Make sure that only query and formData parameters have the allowEmptyValue property.