native-primitive-type
Overview
This rule belongs to the apimatic-post-processing-validation ruleset and states that:
A component in SDL (an internal format to which the user API specification docuemnt is converted) can only use primitive types which are supported by APIMatic. A non-native primitive type will be converted to APIMatic's supported primitive types.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Use of a non-native primitive type was detected and has been converted to APIMatic's supported type. |
| Code | APIMATICPOSTPROCESS_V351 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Types |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | apimatic postprocessing validation type primitive type scalar type |
Suggested Fixes
- Make sure your API specification does not use any unsupported types to avoid this issue.