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.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Required property requests in root object is missing. |
Code | POSTMAN_V350 |
Type | Validation |
Rule System | Semantic |
Broad Category | Requests |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | postman 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.