Skip to main content

required-collection-items

Overview

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

The root object of a Postman Collection (v2.0 and above) must contain request or request folder definitions using the root item property.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRequired property item in root object is missing.
CodePOSTMAN_V200
TypeValidation
Rule SystemSemantic
Broad CategoryItems
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagspostman api semantic validation items collection

Suggested Fixes

  • Add missing item property in the root object.
  • Make sure that the item property value is not null.
  • Try importing your Postman Collection into the Postman app, save and export it and then try again.

For More Information