Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageThe unique name/key specified for the global type combinators entry is invalid and has been removed from the global type combinators list.
CodeAPIMATICPOSTPROCESS_V491
TypeValidation
Rule SystemSemantic
Broad CategoryGlobal Types/Models
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic 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.