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.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Default value detected for a type for which it is currently not supported. |
Code | APIMATICPRE_V405 |
Type | Validation |
Rule System | Semantic |
Broad Category | Types |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic sample value default value |
Suggested Fixes
- Remove default value from the entity.
- Change the type of the entity.