Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

feat: parsing out the postman collection version for .version() #228

Merged
merged 3 commits into from
Nov 9, 2022

Conversation

erunion
Copy link
Member

@erunion erunion commented Nov 9, 2022

🧰 Changes

info.schema is required for Postman collections but there's no strictness around its contents. We've seen that it /usually/ follows this format so we can do our best to get a version, otherwise we'll fallback to treat it as unknown.

https://schema.postman.com/json/collection/v2.0.0/collection.json
https://schema.postman.com/json/collection/v2.1.0/collection.json

@erunion erunion added the enhancement New feature or request label Nov 9, 2022
@erunion erunion marked this pull request as ready for review November 9, 2022 18:45
@erunion erunion requested a review from kanadgupta November 9, 2022 18:47
Copy link
Member

@kanadgupta kanadgupta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hell yeah

@erunion erunion merged commit 28bc011 into main Nov 9, 2022
@erunion erunion deleted the feat/parse-postman-collection-version branch November 9, 2022 18:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants