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