flask2postman icon indicating copy to clipboard operation
flask2postman copied to clipboard

Support Postman Collection Format v2 (and thus Insomnia)

Open pacud opened this issue 6 years ago • 3 comments

Hey,

Could we have support for insomnia please ?

pacud avatar Feb 19 '19 13:02 pacud

Yes! Insomnia already supports Postman collections, but we need to find out why it doesn't accept the collections exported by flask2postman.

ramnes avatar Feb 19 '19 15:02 ramnes

flask2postman exports Postman v1 collections, while Insomnia only support the Postman v2 schema. We should make the output configurable and support both.

https://schema.getpostman.com/json/collection/v2.0.0/docs/index.html

ramnes avatar Feb 19 '19 15:02 ramnes

Meanwhile, you can pipe the output of flask2postman to postmanlabs/postman-collection-transformer. :tada:

ramnes avatar Feb 19 '19 15:02 ramnes