Skip to content

Commit 02921eb

Browse files
authored
Merge pull request #11 from madeindjs/firefox-support
feat: setup `web-ext` for Firefox support
2 parents f72f34a + 1feec22 commit 02921eb

4 files changed

Lines changed: 3696 additions & 69 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules
22
dist
3-
3+
web-ext-artifacts

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
<p align="center" style="max-width: 600px;">
15-
Effortlessly discover API behaviour with a Chrome extension that automatically generates OpenAPI specifications in real time for any app or website.
15+
Effortlessly discover API behaviour with a Chrome/Firefox extension that automatically generates OpenAPI specifications in real time for any app or website.
1616
<br />
1717
<br />
1818
<a href="https://awalsh.io/posts/openapi-devtools/">Read More</a>
@@ -30,7 +30,7 @@
3030
<img width="80%" src="resources/demo.gif">
3131
</p>
3232

33-
OpenAPI DevTools is a Chrome extension that generates OpenAPI specifications in real time from network requests. Once installed it adds a new tab to Chrome DevTools called `OpenAPI`. While the tool is open it automatically converts network requests into a specification.
33+
OpenAPI DevTools is a Chrome/Firefox extension that generates OpenAPI specifications in real time from network requests. Once installed it adds a new tab to Chrome DevTools called `OpenAPI`. While the tool is open it automatically converts network requests into a specification.
3434

3535
*Features*:
3636
- Instantly generate an OpenAPI 3.1 specification for any website or application just by using it
@@ -79,10 +79,10 @@ An [OpenAPI](https://www.openapis.org/) specification is a description of what a
7979
To develop the project:
8080
- `npm install`
8181
- `npm run build`
82-
- Navigate to `chrome://extensions`
82+
- Navigate to `chrome://extensions` for Chromium based browser or `about:addons` for Firefox
8383
- In the top right enable the `Developer mode` toggle
8484
- In the top left click `Load unpacked` and select the `dist` directory
85-
- You should now see the tool in Chrome DevTools. You can interact it with like a regular page, including inspection of the React app
85+
- You should now see the tool in DevTools. You can interact it with like a regular page, including inspection of the React app
8686
- [Extensions Reloader](https://chrome.google.com/webstore/detail/extensions-reloader/fimgfedafeadlieiabdeeaodndnlbhid) is suggested to update the tool after running `npm run build` and updating the `dist` directory
8787

8888
<p align="right">(<a href="#readme-top">back to top</a>)</p>

0 commit comments

Comments
 (0)