10 ms·
How does it compare to mitmmitmproxy2swagger? https://github.com/alufers/mitmproxy2swagger https://github.com/alufers/mitmproxy2swagger
by rynn 2y ago
How does it compare to mitmmitmproxy2swagger?
https://github.com/alufers/mitmproxy2swagger https://github.com/alufers/mitmproxy2swagger
- 1a527dd5 2y agoThe first and immediate difference for me is the ability to recall the name. I can recall Postman/Insomina fine, and now for API Parrot. I'm never going to be able to recall mitmproxy2swagger. Unfortunately, names matter.
- itsafarqueue 2y agoThanks 1a527dd5.
- 1a527dd5 2y agoHa! Nicely played. That was out of purely laziness. I don't like using one handle across sites, so I take the first 8 chars of (New-Guid).ToString() and then dump it in my password manager.
- rrr_oh_man 2y agohttps://xkcd.com/1105/ https://xkcd.com/1105/
- swyx 2y agoa real pitty that this was not xkcd 1111
- SparkyMcUnicorn 2y agoI often forget the name of things, sometimes even the big ones. GitHub search is one of the primary ways I rediscover them. "reverse-engineer API" returns mitmproxy2swagger as the third result, and this is how I found it last time I needed it. It is a bit frustrating when a project on GitHub doesn't have good tags or searchable keywords, making it harder to find.
- yoavm 2y agoAs someone who uses mitmproxy and swagger quite often, I actually think the name isn't so bad. I haven't even looked at the readme but I already know what it does, how to run it and what output to expect.
- faizshah 2y agoThis might be more useful than the OP. This thing lets you translate HAR to Swagger… My usual process is Dev tools -> Copy as CURL -> delete unnecessary headers -> translates to requests in python (these days I just use ChatGPT) -> wrap in python sdk for managing auth etc. The OP’s correlation features are really nice though.
- notcrazylol 2y agoProbably a dumb question but if my web app uses graphql, how would I go about with the swagger generation?(since its just one endpoint) Thank you for sharing this though, I was looking for a tool like this :)
- alp1n3_eth 2y agoHave you tried something like GraphQL playground before? https://github.com/graphql/graphql-playground https://github.com/graphql/graphql-playground There's other tools out there that can generate similar docs or playgrounds, given you have a schema/spec of some type.
- rat87 2y agoWhy would you use swagger/openapi? My understanding is that graphql has its own schema system that's supposed to be returned by the server when the client requests it. https://graphql.org/learn/schema/ https://graphql.org/learn/schema/