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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Form parameters are not allowed alongside request body parameter(s). |
| Code | APIMATICPRE_V207 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Endpoint Parameters |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary checks validation apimatic form body parameter endpoint |
Suggested Fixes
- Remove either the body parameter(s) or the form parameter(s).