Skip to main content

valid-info-version

Overview

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

The API version specified in the info object must be non-null, non-empty and follow semantic versioning rules.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageInvalid API version specified.
CodeOPENAPI3APIMATICSYNTAX_L041
TypeLinting
Rule SystemSyntax
Broad CategoryOpenAPI Info
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi syntax linting apimatic info version

Suggested Fixes

  • Version must be non-null and non-empty.
  • Follow semantic versioning rules for the API version.

For More Information