This rule belongs to the
apimatic-preliminary-validation ruleset and states that:
All fields of an enumeration model must have the same type: "String" or "Number". Other types are currently not supported.
|Message||Enumeration model contains one or more fields that are of a type other than "String" or "Number" which is not supported.|
|Broad Category||Global Types/Models|
|Products Impacted||Code Generation, Developer Experience Portal, API Transformer|
- Make sure all fields of an enumeration model have the same type.
- Make sure that type of all fields is set and is non-empty, non-null.
- Remove all references to types other than "String" and "Number".