This rule belongs to the
apimatic-codegen-validation ruleset and states that:
The body match mode specified in the test case (if not set to
None) must be valid and applicable to the type(s) of the response(s) indicated by the expected status.
|Message||Body match mode specified in the test case is not allowed for the response indicated by the expected status.|
|Broad Category||Test Cases|
|Products Impacted||Code Generation, Developer Experience Portal|
- Change body match mode in accordance with the type definition of the response linked in the test case.
- For cases where a range is used in the expected status of the test case, the body match mode must be valid for all response types that fall under that range.
- Set match mode to "None".
- Disable the test case by turning off the