Latest / Developer tools

mitmproxy2swagger

github.com · Open source · Active

Generates Swagger specs from traffic captured with mitmproxy

Visit github.com ↗Share

Stars
9.7k
Forks
386
Open issues
10
Last commit
Releases
20
Found
4 years ago

GitHub figures as of . They are context, not a ranking.

mitmproxy2swagger reverse-engineers REST APIs by turning captured proxy traffic into a Swagger or OpenAPI description. It suits developers who need API documentation for services that have none, and it works from traffic they capture themselves.

Repository description on GitHub: “Automagically reverse-engineer REST APIs via capturing traffic”

What it does

  • Converts mitmproxy captures to OpenAPI 3.0 specifications
  • Accepts HAR files exported from browser DevTools
  • Available on PyPI and as a Docker image

Good for

  • Generate an OpenAPI spec from traffic captured with mitmproxy
  • Document a REST API from exported HAR files

Suits: Developers documenting APIs that have no specification.

What you can try

Read the README on GitHub and install from source.

Install

pip install mitmproxy2swagger
pip3 install mitmproxy2swagger

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw mitmproxy2swagger on , when alufers posted it to Show HN. The oldest published release on GitHub is 0.5.0, dated . Its first tagged release came 4 days after it was found. 20 releases have been published in total; the latest is 0.15.0 ().

Day-7 and day-30 updates

Day 7 3 releases shipped

  • 3 releases in the first 7 days: 0.5.0 (16 May 2022), 0.5.1 (16 May 2022), 0.5.3 (18 May 2022)
  • Show HN discussion at check time: 691 points, 85 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 4 releases shipped

  • 4 releases in the first 30 days: 0.5.0 (16 May 2022), 0.5.1 (16 May 2022), 0.5.3 (18 May 2022), 0.5.4 (31 May 2022)
  • Show HN discussion at check time: 691 points, 85 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (1 in total, busiest month 1).
  1. Repository created on GitHub: alufers/mitmproxy2swagger
  2. Found: alufers posted it to Show HN. Show HN
  3. Release 0.5.0
  4. Release 0.10.1
  5. Release 0.11.0
  6. Release 0.12.0
  7. Release 0.13.0
  8. Release 0.14.0
  9. Release 0.15.0
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 20 releases. All releases on GitHub

Quick answers

When was mitmproxy2swagger released?
Its first tagged release on GitHub is dated 16 May 2022. Kip found it on Show HN on 12 May 2022.
Is mitmproxy2swagger open source?
Its source is public on GitHub at alufers/mitmproxy2swagger; check the repository for licence terms.
What does mitmproxy2swagger run on?
Command line.
Is mitmproxy2swagger free?
It is open source, so the code is free to read and run; check the licence for terms.
Is mitmproxy2swagger still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryalufers/mitmproxy2swagger
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-31354130. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.