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.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | Invalid API version specified. |
Code | OPENAPI3APIMATICSYNTAX_L041 |
Type | Linting |
Rule System | Syntax |
Broad Category | OpenAPI Info |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | openapi3 openapi syntax linting apimatic info version |
Suggested Fixes
- Version must be non-null and non-empty.
- Follow semantic versioning rules for the API version.