callback-missing-request-body
Overview
This rule belongs to the apimatic-codegen-validation
ruleset and states that:
Callbacks typically require a request body parameter to send event data to external services. A missing request body may indicate incomplete callback configuration or prevent proper event notification.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | Callback removed as it doesn't have a request body parameter. |
Code | APIMATICCODEGEN_V538 |
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 request body parameter configuration event data |
Suggested Fixes
- Add a request body parameter to the callback to send event data.
- Ensure the request body parameter has
ParamFormat.Body
format. - Define an appropriate schema type for the callback payload.
- If the callback intentionally has no body, this warning can be ignored.