Skip to main content

valid-input-parameter-test-value

Overview

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

The test value provided for the input parameter in a test case must be valid and correspond with the parameter type definition.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe test value provided for input parameter is invalid.
CodeAPIMATICCODEGEN_V163
TypeValidation
Rule SystemSemantic
Broad CategoryTest Cases
Products ImpactedCode Generation, Developer Experience Portal
Tagsapimatic code generation codegen sdks portal docs validation apimatic test value parameter test case endpoint

Suggested Fixes

  • Check the test value against the parameter type definition and fix any issues.
  • Adjust the parameter type definition to match the input test value.
  • Disable the test case by turning off the Enabled flag.

For More Information