Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe name/key specified for the global type combinators entry is invalid.
CodeAPIMATICPRE_V581
TypeValidation
Rule SystemSemantic
Broad CategoryGlobal Types/Models
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary 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.