required-item-request
Overview
This rule belongs to the postman-validation
ruleset and states that:
The request item object of a Postman Collection v2.0 and above document must define details related to the HTTP request using the request
property.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Required property request in item definition is missing. |
Code | POSTMAN_V353 |
Type | Validation |
Rule System | Semantic |
Broad Category | Requests |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | postman api semantic validation request item collection |
Suggested Fixes
- Add missing
request
property in the item object. - Make sure that the
request
property value is not null. - Create the request in the Postman application again with a user-friendly name, save and export your collection and then try again.
For More Information
- https://learning.postman.com/collection-format/getting-started/structure-of-a-collection/#request
- https://learning.postman.com/collection-format/getting-started/structure-of-a-collection/#item
- https://learning.postman.com/docs/sending-requests/requests/
- https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html
- https://schema.postman.com/collection/json/v2.1.0/draft-07/collection.json
- https://schema.postman.com/collection/json/v2.0.0/draft-07/docs/index.html
- https://schema.postman.com/collection/json/v2.0.0/draft-07/collection.json
- https://learning.postman.com/docs/introduction/overview/
- https://docs.apimatic.io/rulesets/overview/