native-primitive-type
Overview
This rule belongs to the apimatic-preliminary-validation ruleset and states that:
A component in SDL can only use primitive types which are supported by APIMatic.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Use of a non-native primitive type detected. |
| Code | APIMATICPRE_V403 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Types |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary checks validation apimatic type primitive type scalar type |
Suggested Fixes
- Make sure your API specification does not use any unsupported types.
- Make sure that the correct case is used for the type name as the names are compared in a case-sensitive manner.