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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Multiple callbacks found with same ID. |
| Code | APIMATICCODEGEN_V548 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Webhooks |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | apimatic 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.