valid-wadl-syntax
Overview
This rule belongs to the wadl-validation
ruleset and states that:
The provided WADL document must not contain any syntax/semantic issues and use only valid XML. Each property in the file must have a type or value as defined in the standard.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Blocking |
Message | Provided WADL document is not valid. |
Code | WADL_V600 |
Type | Validation |
Rule System | Semantic |
Broad Category | Miscellaneous |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | wadl api semantic validation syntax xml |
Suggested Fixes
- Ensure that the file uses valid XML.
- Ensure that each element in the WADL file has the expected type.
- Ensure that each element has only the allowed attributes and child elements defined inside it.
- If an element or attribute expects a value from a restricted list, ensure that the value matches with an entry from the list.