Skip to main content

predefined-test-input-parameter

Overview

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

A test case input parameter must correspond to a pre-defined parameter in the endpoint in which the test case is defined.

PropertyValue
EnabledYes
Maximum SeverityError
MessageTest input corresponding parameter definition could not be found.
CodeAPIMATICCODEGEN_V162
TypeValidation
Rule SystemSemantic
Broad CategoryTest Cases
Products ImpactedCode Generation, Developer Experience Portal
Tagsapimatic code generation codegen sdks portal docs validation apimatic parameter test case endpoint

Suggested Fixes

  • Declare corresponding parameter in the endpoint.
  • Remove undefined test input parameter.
  • Disable the test case by turning off the Enabled flag.

For More Information