Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageUse of a non-native primitive type detected.
CodeAPIMATICPRE_V403
TypeValidation
Rule SystemSemantic
Broad CategoryTypes
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary 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.

For More Information