optional-query-parameters-test-case
Overview
This rule belongs to the apimatic-codegen-validation
ruleset and states that:
Test case must not contain undeclared query parameters if endpoint does not allow optional query parameters.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | Optional query parameters are found in the input parameters of the test case even though the endpoint does not allow them. |
Code | APIMATICCODEGEN_V165 |
Type | Validation |
Rule System | Semantic |
Broad Category | Test Cases |
Products Impacted | Code Generation, Developer Experience Portal |
Tags | apimatic code generation codegen sdks portal docs validation apimatic parameter test case endpoint setting endpoint |
Suggested Fixes
- Remove optional query parameters from the test case input parameters.
- Enable optional query parameters from the endpoint settings.
- Disable the test case by turning off the
Enabled
flag.