This rule belongs to the
apimatic-post-processing-validation ruleset and states that:
All enumeration model fields must have a default value set, that represents one of the allowed values for the enumeration entity. If the default value is missing, the enumeration field name will be assigned as the default value of that field.
|Message||Default value of the enumeration field is missing, therefore, the enumeration field name has been set as the default value of the field.|
|Broad Category||Global Types/Models|
|Products Impacted||Code Generation, Developer Experience Portal, API Transformer|
- Set default values of all enumeration model fields to avoid this issue.