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.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | API version string does not have a valid format. |
Code | APIMATICPRE_L001 |
Type | Linting |
Rule System | Semantic |
Broad Category | API |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks linting apimatic version api |
Suggested Fixes
- Version must be non-null and non-empty.
- Follow semantic versioning rules for the API version.