{
  "added_at": "2026-10-19",
  "additional_evidence_urls": [
    "https://github.com/alufers/mitmproxy2swagger/blob/f432acafa5907258f0f529ff582c75fefdca00d7/pyproject.toml"
  ],
  "category": "web-analysis",
  "description_en": "Command-line tool that reverse-engineers undocumented REST APIs from captured traffic. It reads a mitmproxy flow file, or a HAR export from the browser DevTools, and generates an OpenAPI 3.0 specification describing the observed endpoints. Running it again over further captures safely merges the new data into an existing schema.",
  "description_zh": "命令行工具，从捕获的流量还原未公开的 REST API。它读取 mitmproxy 流文件或浏览器 DevTools 导出的 HAR，生成描述所观察端点的 OpenAPI 3.0 规范。对更多捕获再次运行时，会将新数据安全合并到已有规范中。",
  "entry_url": "https://awesomerea.org/resources/mitmproxy2swagger/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/mitmproxy2swagger/",
  "evidence_url": "https://github.com/alufers/mitmproxy2swagger/blob/f432acafa5907258f0f529ff582c75fefdca00d7/README.md",
  "group": "tools",
  "id": "mitmproxy2swagger",
  "json_url": "https://awesomerea.org/resources/mitmproxy2swagger/record.json",
  "kind": "tool",
  "markdown_url": "https://awesomerea.org/resources/mitmproxy2swagger/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/mitmproxy2swagger/index.md",
  "name": "mitmproxy2swagger",
  "name_zh": "mitmproxy2swagger",
  "record_type": "resource",
  "relationship": "foundation",
  "requirements": [
    "Installed from PyPI (also packaged for Arch Linux) or run via the provided Dockerfile; pyproject.toml marks version 0.15.0 and requires Python 3.12+.",
    "Takes a mitmproxy flow file or a browser HAR export as input; the analyst captures that traffic separately, for example with mitmproxy, and supplies the API base-URL prefix. The two-pass workflow lets several captures be merged into an existing schema.",
    "Intended for APIs and traffic the analyst is authorized to capture and analyze. The project metadata in pyproject.toml declares the MIT license; no standalone LICENSE file is present for GitHub to detect."
  ],
  "requirements_zh": [
    "通过 PyPI 安装（亦有 Arch Linux 软件包），或使用随附的 Dockerfile 运行；pyproject.toml 标注版本 0.15.0，要求 Python 3.12+。",
    "以 mitmproxy 流文件或浏览器 HAR 导出作为输入；使用者需另行捕获这些流量（例如通过 mitmproxy），并提供 API 的基础 URL 前缀。两阶段流程可将多次捕获合并到已有规范中。",
    "仅用于分析者有权捕获与分析的 API 和流量。pyproject.toml 中的项目元数据声明采用 MIT 许可证；仓库没有可供 GitHub 识别的独立 LICENSE 文件。"
  ],
  "targets": [
    "protocol",
    "website"
  ],
  "url": "https://github.com/alufers/mitmproxy2swagger",
  "verification": "source-reviewed",
  "verified_at": "2026-10-19"
}
