Skip to main content

non-empty-non-null-example-id

Overview

This rule belongs to the apimatic-docs-linting ruleset and states that:

All examples provided for a component must be assigned unique, non-empty and non-null ids.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageExample id is null or empty.
CodeAPIMATICDOCS_L108
TypeLinting
Rule SystemSemantic
Broad CategoryExamples
Products ImpactedDeveloper Experience Portal
Tagsportal generation portal docs linting apimatic id example

Suggested Fixes

  • Make sure that all examples have a unique non-empty and non-null id assigned to it.
  • Remove example entries that have empty/null id assigned to them.

For More Information