Skip to main content

no-allow-empty-value-usage

Overview

This rule belongs to the openapi-v3-standards-linting ruleset and states that:

Use of the property allowEmptyValue, which allows sending a parameter with an empty value, is not recommended as it is likely going to be removed from the OpenAPI standards in a later revision.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageUsage of allowEmptyValue found.
CodeOPENAPI3STANDARDS_L061
TypeLinting
Rule SystemSemantic
Broad CategoryParameters
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi standards semantic linting empty value parameter

Suggested Fixes

  • Avoid using allowEmptyValue in your parameter definition unless you are aware of the risks.

For More Information