Tool
mitmproxy2swagger
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.
- Targets
- Protocol · Website
- Category
- Website analysis tools
- Relationship
- Foundation tool
- Sources reviewed
- Evidence level
- L1 reinforcement-learning environment
- Stars
- 9.8k
- Last commit
- 2026-06-24
- Language
- HTML
GitHub data as of 2026-12-05
Evidence

- Observed
- Code, documentation, download and demo observed for a tool, integration, guide or analysis entry.
- Scope
- Analysis, tool or guide
- Checked
- 2026-11-07
Requirements & limits
- 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.
Cite
BibTeX
@misc{mitmproxy2swagger,
title = {{mitmproxy2swagger}},
howpublished = {\url{https://github.com/alufers/mitmproxy2swagger}},
url = {https://github.com/alufers/mitmproxy2swagger},
urldate = {2026-10-19},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/mitmproxy2swagger/}}
}Plain text
mitmproxy2swagger. https://github.com/alufers/mitmproxy2swagger (accessed 2026-10-19). Awesome REA entry: https://awesomerea.org/resources/mitmproxy2swagger/
Useful? Star Awesome REA on GitHub4.0k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · alufers/mitmproxy2swagger · Revision f432aca
- pyproject.toml GitHub · alufers/mitmproxy2swagger · Revision f432aca
More in Websites
- JPEXS Free Flash Decompiler (FFDec) · Tool
- WasmLens: exploratory WebAssembly inspection · Tool
- synchrony · Tool
- sourcemapper · Tool
- ngrev · Tool
- jsluice · Tool