required-data-structure-property-name
Overview
This rule belongs to the api-blueprint-validation
ruleset and states that:
A data structure that defines an object must specify a non-empty name for each property which is part of the object. Properties with missing name will be ignored automatically when importing/transforming the document in APIMatic.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Object data structure contains a property with a missing name. |
Code | APIBLUEPRINT_V300 |
Type | Validation |
Rule System | Semantic |
Broad Category | Data Structures |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | api blueprint api elements api semantic validation name property object |
Suggested Fixes
- Make sure that the property name is specified and it is not empty or missing.
- Ensure that the property definition is correctly nested in the object definition.