required-folder-items
Overview
This rule belongs to the postman-validation ruleset and states that:
An item group/folder in the Postman Collection v2.0 and above must define the item property to help define any inner items nested inside the folder.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Required property item in folder is missing. |
| Code | POSTMAN_V253 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Folders |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | postman api semantic validation request items folder item group collection |
Suggested Fixes
- Ensure that all item groups/folders has an inner
itemproperty with value set as a non-empty list of item definitions. - In the Postman application, move one or more requests in your collection to the intended folder, save and export your collection and then try again.
For More Information
- https://learning.postman.com/collection-format/getting-started/structure-of-a-collection/#item-groups
- https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html
- https://schema.postman.com/collection/json/v2.1.0/draft-07/collection.json
- https://schema.postman.com/collection/json/v2.0.0/draft-07/docs/index.html
- https://schema.postman.com/collection/json/v2.0.0/draft-07/collection.json
- https://learning.postman.com/docs/introduction/overview/
- https://docs.apimatic.io/rulesets/overview/