gpt4 book ai didi

api - 如何在源代码管理中存储 postman 收藏

转载 作者:行者123 更新时间:2023-12-03 08:49:43 26 4
gpt4 key购买 nike

我在打开它之前使用POSTMAN集合来测试我的API。我与一个开发人员团队合作,我们希望彼此之间共享/添加/编辑我们的收藏。
正如在GitHUB页面上的以下注释所示,在源代码管理中执行此操作有些棘手:

This issue still persists in Version 2.1.1 (packaged)

The order of requests might be deterministic now, but the diff of an exported collection from two different machines and users includes data that are not related to the collections exported. The diff is full of owner and other id conflicts if there are several people working on the tests at the same time.


将这些数据放入某种版本控制系统中的最佳方法是什么?有其他建议吗?

最佳答案

毫无疑问,将其放入VCS中会让您头疼。最好的选择是使用Postmans功能共享收藏集。这是在https://www.getpostman.com/docs/sharing上找到的文档

Starting with Postman v0.9.3 you have the ability to share and manage your collections more effectively. The first thing you will have to do is create a Postman account. You can create one using your email ID or a Google account. Once you are signed in after creating an account, the collections you upload on Postman are linked to your account. You can delete them later through the "Shared collections" item in the navigation bar dropdown.

关于api - 如何在源代码管理中存储 postman 收藏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30437988/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com