callback-no-group-assigned-warning
Overview
This rule belongs to the apimatic-codegen-validation ruleset and states that:
This callback doesn't have an x-callback-group extension specified. While not required, assigning callbacks to groups enables better organization and discriminator functionality.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | No callback group assigned for this callback. |
| Code | APIMATICCODEGEN_V536 |
| 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 callback group x-callback-group organization configuration |
Suggested Fixes
- Add an x-callback-group extension to explicitly assign the callback to a group.
- If no grouping is needed, this warning can be ignored.
- Callback groups enable discriminator-based event handling and better organization.
- Consider creating callback groups if you have multiple callback types.