Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageA global type combinators entry could not be found against the specified global reference name.
CodeAPIMATICPRE_V409
TypeValidation
Rule SystemSemantic
Broad CategoryTypes
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary 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.