Skip to main content

callback-duplicate-id-warning

Overview

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

Duplicate callback IDs detected in the API specification. When multiple callbacks share the same ID, only the first occurrence will be used and subsequent duplicates will be ignored during processing.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageMultiple callbacks found with same ID.
CodeAPIMATICCODEGEN_V548
TypeValidation
Rule SystemSemantic
Broad CategoryWebhooks
Products ImpactedCode Generation, Developer Experience Portal
Tagsapimatic code generation codegen sdks portal docs validation apimatic callback duplicate id identifier conflict configuration

Suggested Fixes

  • Ensure all callback IDs are unique across the entire API specification.
  • Remove or rename duplicate callback definitions.
  • The system will automatically use the first callback definition when duplicates exist.
  • Review callback configurations to ensure intended callback is being referenced.

For More Information