Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageNo callback group assigned for this callback.
CodeAPIMATICCODEGEN_V536
TypeValidation
Rule SystemSemantic
Broad CategoryWebhooks
Products ImpactedCode Generation, Developer Experience Portal
Tagsapimatic 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.

For More Information