Lurker News
Effortlessly discover API behaviour with a Chrome extension that automatically generates OpenAPI specifications in real time for any app or website.

Comments (102) 40 threads

Show all comments

Showing thread 3 of 40

lucasyvas#
This would be excellent
mrmagoo2#
Hey absolutely please do, thank you!
parhamn1 reply#
Are devtools extensions/panels standardized?
distortedsignal#
I'd love to see FF support on this.
mrmagoo21 reply#
As a follow up, the algorithm that powers this makes use of the chrome.devtools.network API. Specifically it passes the Request object that is in the HAR 1.2 archive format.

So if you can pass the equivalent of that in Firefox/other browsers to the insert method and switch things up a bit, it should be relatively straightforward. I will think about pulling out the core logic into its own lib.
https://developer.chrome.com/docs/extensions/reference/devto...
https://developer.chrome.com/docs/extensions/reference/devto...
https://github.com/AndrewWalsh/openapi-devtools/blob/main/sr...

a_c#
Also the polyfill has a promise based API rather than a callback, which I don't yet know if there is a workaround