Skip to main content

unique-example-ids

Overview

This rule belongs to the apimatic-post-processing-validation ruleset and states that:

The ids assigned to examples provided for a component must be unique. Duplicate ids will be renamed.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageDuplicate example id has been renamed.
CodeAPIMATICPOSTPROCESS_V504
TypeValidation
Rule SystemSemantic
Broad CategoryExamples
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic postprocessing validation id example

Suggested Fixes

  • Make sure all examples are assigned unique Ids.
  • Duplicate ids must be renamed and made unique.