Skip to main content



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

Numeric schemas should have both a minimum and maximum boundary defined in OpenAPI 3.0 specifications.

Maximum SeverityWarning
MessageNumeric schema boundaries are not defined.
Rule SystemSemantic
Broad CategoryOpenAPI Schemas
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting number boundaries minimum maximum schema

Suggested Fixes

  • Check the OpenAPI 3.0 specification to confirm if minimum and maximum boundaries are specified for the numeric schema.
  • If either the minimum or maximum boundary is missing, add the missing boundary to the schema definition.
  • Make sure that the minimum and maximum boundaries are specified with appropriate data types (e.g., integer or number) in the schema definition.

For More Information