valid-global-type-combinators-reference-name
Overview
This rule belongs to the apimatic-preliminary-validation ruleset and states that:
If a global type combinators reference name is specified, the name must be non-null, non-empty and an entry with that name must be present in the global type combinators definitions.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | A global type combinators entry could not be found against the specified global reference name. |
| Code | APIMATICPRE_V409 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Types |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary checks validation apimatic name global type combinators anyOf oneOf not |
Suggested Fixes
- Make sure that the global type combinators reference name is not null or empty.
- Ensure that an entry in the global type combinators exist for the given name.
- Names are compared in a case-sensitive manner.