required-collection-info-name
Overview
This rule belongs to the postman-validation
ruleset and states that:
The root info object of a Postman Collection (v2.0 and above) must assign a user-friendly name for the collection using the name
property. If name information is not provided, a default title will be assigned automatically during import/transformations in APIMatic.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Required property name in info object is empty/missing. |
Code | POSTMAN_V101 |
Type | Validation |
Rule System | Semantic |
Broad Category | Collection Metadata |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | postman api semantic validation name info collection |
Suggested Fixes
- Add missing
name
property in the info object. - Make sure that the
name
property value is not empty or null. - Try naming/renaming your Postman Collection in the Postman application, save and export it and then try again.
For More Information
- https://learning.postman.com/collection-format/getting-started/structure-of-a-collection/#info
- 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/