AndrewWalsh/openapi-devtools
Fork: 72 Star: 3924 (更新于 2024-10-15 22:49:09)
license: MIT
Language: TypeScript .
Browser extension that generates API specs for any app or website
最后发布版本: v1.5.2 ( 2024-03-27 06:54:35)
Effortlessly discover API behaviour with a browser extension that automatically generates OpenAPI specifications in real time for any app or website.
Read More
·
Report Bug
·
Give Feedback
About The Project
OpenAPI DevTools is a browser extension that generates OpenAPI specifications in real time from network requests. Once installed it adds a new tab to DevTools called OpenAPI
. While the tool is open it automatically converts network requests into a specification.
Features:
- Instantly generate an OpenAPI 3.1 specification for any website or application just by using it
- Automatically merges new request & response headers, bodies, and query parameters per endpoint
- Click on a path parameter and the app will automatically merge existing and future matching requests
- View the specification inside the tool using Redoc and download with a click
- Export and save a session at any time, or share it with others
Installation
Download the extension in the Chrome Web Store.
Download the extension in the Firefox Add-on Store.
Otherwise, to install manually:
- Download and extract the dist.zip file in the latest release
- In Chrome, navigate to
chrome://extensions
- In the top right enable the
Developer mode
toggle - In the top left click
Load unpacked
and select the extracteddist
directory - Open a new tab and then select
OpenAPI
in the developer tools (open withcmd+i
orctrl+i
) - Firefox is more challenging. Please use the add-on store.
Usage
The specification will automatically populate based on JSON requests that fire as you browse the web. In the settings menu you can filter hosts and parameterise paths in URLs. Once you do so all matching existing and future requests to that endpoint will be merged. This process is irreversible, but you can clear the specification and restart at any time.
When the same endpoint responds with different data, such as a value that is sometimes a string and sometimes null, the specification for that value will be either string or null. All information is accounted for in the final specification. If you see something missing from a request, trigger a request that contains the missing information.
The settings menu contains several options. Here you can enable real examples in the specification. You can also export the current state of the app as a string, share or store it, and import it later.
What is OpenAPI?
An OpenAPI specification is a description of what an API expects to receive and what it will respond with. It is governed by the OpenAPI Initiative and the Linux Foundation. OpenAPI specifications are the modern standard for RESTful APIs, and systems that have them are far easier to work with.
Contributing
To develop the project:
-
npm install
-
npm run dev
最近版本更新:(数据更新于 2024-10-03 14:45:26)
2024-03-27 06:54:35 v1.5.2
2024-02-22 04:00:25 v1.5.1
2024-01-24 07:27:55 v1.5.0
2024-01-15 12:44:16 v1.4.2
2023-12-03 12:03:56 v1.4.1
2023-11-26 12:13:45 v1.4.0
2023-11-09 14:12:39 v1.3.2
2023-11-08 11:49:50 v1.3.0
2023-11-06 16:19:21 v1.2.4
2023-11-05 15:41:01 v1.2.1
主题(topics):
api, chrome-extension, devtools, generator, openapi, openapi3, openapi31, specification
AndrewWalsh/openapi-devtools同语言 TypeScript最近更新仓库
2024-10-31 06:05:13 RSSNext/Follow
2024-10-31 03:56:54 CopilotKit/CopilotKit
2024-10-31 00:21:14 siyuan-note/siyuan
2024-10-30 23:42:53 lobehub/lobe-chat
2024-10-30 22:50:16 continuedev/continue
2024-10-30 21:45:40 labring/FastGPT