Support directly generating Postman Collections JSON
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 1.2k
- 派生
- 242
- PR 合并指标
- 30 天内没有已合并 PR
描述
It would be useful to be able to export directly to Postman collections format (v2 - structure documented here).
There are other existing JS libraries to do this (e.g. https://github.com/javieraviles/Har2Postman/) and it's very simple (it's a JSON -> JSON transformation) but integrating that in Httpsnippet too would be useful, to make it available within the same structure & using the same API as all the other HTTP export formats here.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先查看 Httpsnippet 现有的 HTTP 导出格式实现及其使用的共享 API,然后将所需输出与 Postman Collections v2.1 架构和链接的 Har2Postman 库进行比较。完成标准是通过与其他格式相同的 API 直接生成有效的 Postman Collections JSON。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- postman, typescript
- 领域
- api, tooling
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100