parameter-minimum-exists-for-exclusive-minimum
Overview
This rule belongs to the swagger-v2-standards-validation ruleset and states that:
The parameter must have the minimum property defined if the exclusiveMinimum property has been defined.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Exclusive minimum has been defined but minimum is missing for parameter. |
| Code | SWAGGER20STANDARDS_V114 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Parameters |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | swagger2 swagger standards semantic validation parameter exclusive minimum minimum |
Suggested Fixes
- Ensure that the
minimumproperty exists and is a valid numeric value.