Skip to main content

form-and-body-parameters-cannot-coexist

Overview

This rule belongs to the apimatic-preliminary-validation ruleset and states that:

If an endpoint contains a body parameter, form parameters or optional field parameters are not allowed.

PropertyValue
EnabledYes
Maximum SeverityError
MessageForm parameters are not allowed alongside request body parameter(s).
CodeAPIMATICPRE_V207
TypeValidation
Rule SystemSemantic
Broad CategoryEndpoint Parameters
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic form body parameter endpoint

Suggested Fixes

  • Remove either the body parameter(s) or the form parameter(s).

For More Information