Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageEndpoint does not declare a body parameter which is required for XML requests.
CodeAPIMATICPRE_V206
TypeValidation
Rule SystemSemantic
Broad CategoryEndpoint Parameters
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic body parameter endpoint xml

Suggested Fixes

  • Disable XML requests for this endpoint.
  • Define a body parameter in the endpoint.

For More Information