required-body-parameter-definition-for-xml-request-endpoint
Overview
This rule belongs to the apimatic-preliminary-validation
ruleset and states that:
An explicit endpoint body parameter definition must be present if XML requests are enabled for the endpoint.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Endpoint does not declare a body parameter which is required for XML requests. |
Code | APIMATICPRE_V206 |
Type | Validation |
Rule System | Semantic |
Broad Category | Endpoint Parameters |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic body parameter endpoint xml |
Suggested Fixes
- Disable XML requests for this endpoint.
- Define a body parameter in the endpoint.