non-empty-global-type-combinators-key
Overview
This rule belongs to the apimatic-post-processing-validation
ruleset and states that:
The unique key/name specified for the global type combinators entry must be non-null and non-empty. If that is not the case, the invalid entry will be automatically removed from the global type combinators definitions.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | The unique name/key specified for the global type combinators entry is invalid and has been removed from the global type combinators list. |
Code | APIMATICPOSTPROCESS_V491 |
Type | Validation |
Rule System | Semantic |
Broad Category | Global Types/Models |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | apimatic postprocessing validation key name global type combinators type combinators anyOf oneOf not |
Suggested Fixes
- Make sure that the global type combinators key/name is not null or empty.
- Remove all entries from the global type combinators list where the keys are empty/null or assign a valid alphanumeric value to them.