Skip to main content

supported-default-value

Overview

This rule belongs to the apimatic-preliminary-validation ruleset and states that:

For some types (primary or complex), default values are currently not supported and are required to be removed.

PropertyValue
EnabledYes
Maximum SeverityError
MessageDefault value detected for a type for which it is currently not supported.
CodeAPIMATICPRE_V405
TypeValidation
Rule SystemSemantic
Broad CategoryTypes
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic sample value default value

Suggested Fixes

  • Remove default value from the entity.
  • Change the type of the entity.