model-circular-inheritance
Overview
This rule belongs to the apimatic-preliminary-validation
ruleset and states that:
Models must not contain circular inheritance in their hierarchy.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Model has circular inheritance in its hierarchy |
Code | APIMATICPRE_V506 |
Type | Validation |
Rule System | Semantic |
Broad Category | Global Types/Models |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic circular inheritance base type inheritance type custom type model complex model |
Suggested Fixes
- Analyze the base types of the model and remove any circular linkages.