Skip to main content

valid-api-version

Overview

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

The API version must be non-null, non-empty and follow semantic versioning rules.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageAPI version string does not have a valid format.
CodeAPIMATICPRE_L001
TypeLinting
Rule SystemSemantic
Broad CategoryAPI
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks linting apimatic version api

Suggested Fixes

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

For More Information