required-collection-folders
Overview
This rule belongs to the postman-validation ruleset and states that:
The root object of a Postman Collection v1.0 must contain request folder definitions using the root folders property.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Required property folders in root object is missing. |
| Code | POSTMAN_V250 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Folders |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | postman api semantic validation folders collection request |
Suggested Fixes
- Add missing
foldersproperty in the root object. - Make sure that the
foldersproperty value is not null. - Try importing your Postman Collection into the Postman app, save and export it and then try again.