This rule belongs to the
postman-validation ruleset and states that:
A collection must define one or more requests. For Postman v1.0, the request definitions must be added in the root level
requests property whereas for Postman v2.0 or above, requests can be defined by adding one or more request items in either the root level
item list directly or within another item group's/folder's
|Message||Collection contains no requests.|
|Products Impacted||API Transformer, Code Generation, Developer Experience Portal|
- If you are using Postman v1.0, ensure that root level
requestsproperty value is not empty/null and contains at least one request definition.
- If you are using Postman v2.0 or above, ensure that either the root level or the item group level
itemproperty is not empty/null and contains at least one request item definition.
- Create a request within your collection in the Postman application by selecting
Add Requestoption from the menu, save and export your collection and then try again.
For More Information