Skip to main content

required-collection-requests

Overview

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

The root object of a Postman Collection v1.0 must define one or more requests using the root requests property.

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

Suggested Fixes

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

For More Information