Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageModel has circular inheritance in its hierarchy
CodeAPIMATICPRE_V506
TypeValidation
Rule SystemSemantic
Broad CategoryGlobal Types/Models
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary 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.

For More Information