This rule belongs to the
apimatic-preliminary-validation ruleset and states that:
Enumeration types must contain at least one value field.
|Message||Enumeration model has no fields which is not allowed.|
|Broad Category||Global Types/Models|
|Products Impacted||Code Generation, Developer Experience Portal, API Transformer|
- Define at least one or more value fields for the enumeration model under consideration.
- Remove the model if it has no references.