Skip to main content

response-header-minimum-exists-for-exclusive-minimum

Overview

This rule belongs to the swagger-v2-standards-validation ruleset and states that:

The header object must have the minimum property defined if the exclusiveMinimum property has been defined.

PropertyValue
EnabledYes
Maximum SeverityError
MessageExclusive minimum has been defined but minimum is missing for header object.
CodeSWAGGER20STANDARDS_V227
TypeValidation
Rule SystemSemantic
Broad CategoryResponse Headers
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsswagger2 swagger standards semantic validation header exclusive minimum minimum

Suggested Fixes

  • Ensure that the minimum property exists and is a valid numeric value.

For More Information