Skip to main content

input-parameter-test-value-restrictions

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 obey all restrictions placed in the corresponding parameter type definition.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe test value provided for input parameter violates type restrictions.
CodeAPIMATICCODEGEN_V164
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

  • Adjust the test value so that it meets all type restrictions present in the corresponding parameter definition.
  • Remove the restrictions from the corresponding parameter type definition.
  • Disable the test case by turning off the Enabled flag.

For More Information