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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Usage of allowEmptyValue found. |
| Code | OPENAPI3STANDARDS_L061 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | Parameters |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | openapi3 openapi standards semantic linting empty value parameter |
Suggested Fixes
- Avoid using
allowEmptyValuein your parameter definition unless you are aware of the risks.