Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageUse of a non-native primitive type was detected and has been converted to APIMatic's supported type.
CodeAPIMATICPOSTPROCESS_V351
TypeValidation
Rule SystemSemantic
Broad CategoryTypes
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic postprocessing validation type primitive type scalar type

Suggested Fixes

  • Make sure your API specification does not use any unsupported types to avoid this issue.

For More Information