required-request-query-parameter-name
Overview
This rule belongs to the har-validation
ruleset and states that:
When a request query string is defined, a non-empty non-null name must be specified for each query parameter using the name
property. If a name is not found, the parameter definition will be ignored automatically during import/transformations in APIMatic.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Request query parameter name is empty or missing. |
Code | HAR_V301 |
Type | Validation |
Rule System | Semantic |
Broad Category | Request Parameters |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | har api semantic validation name query string parameter query request |
Suggested Fixes
- Ensure that all query parameters defined in the request
queryString
list have aname
property. - Ensure that the
name
property exists in the query string object. - Ensure that the value of
name
property is not empty or set as null.