non-empty-global-type-combinators-key
Overview
This rule belongs to the apimatic-preliminary-validation
ruleset and states that:
The unique key/name specified for the global type combinators entry must be non-null and non-empty.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | The name/key specified for the global type combinators entry is invalid. |
Code | APIMATICPRE_V581 |
Type | Validation |
Rule System | Semantic |
Broad Category | Global Types/Models |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic key name global type combinators anyOf oneOf not |
Suggested Fixes
- Make sure that the global type combinators entry 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.