Skip to main content

required-param-name-attribute

Overview

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

When a parameter is defined using the <param> element, it must also specify a non-empty name for it using the name attribute.

PropertyValue
EnabledYes
Maximum SeverityError
Message<param> element has a missing name.
CodeWADL_V300
TypeValidation
Rule SystemSemantic
Broad CategoryParameters
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagswadl api semantic validation name attribute param parameter

Suggested Fixes

  • Ensure that the <param> element contains the name attribute.
  • Ensure that the value of the name attribute is not empty.

For More Information