Skip to main content

response-header-maximum-exists-for-exclusive-maximum

Overview

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

The header object must have the maximum property defined if the exclusiveMaximum property has been defined.

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

Suggested Fixes

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

For More Information