Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
OpenAPI DevTools 预览

OpenAPI DevTools 作者: Andrew Walsh

Instantly generate API specifications in real time for any app or website. Open the add-on in Firefox developer tools and watch network requests become an OpenAPI specification.

5 (2 reviews)5 (2 reviews)
185 个用户185 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Capture get, post, put, delete, and patch requests.Watch API requests turn into an API spec. All on the browser and strictly on the client, no network requests are sent to any servers.Use the settings menu to set path parameters, export/import state to save or share, configure hosts to record, and inclusion of request and response examples.
关于此扩展
Instantly generate API specifications in real time for any app or website .

OpenAPI DevTools generates OpenAPI specifications in real time from network requests. Once installed it adds a new tab to Firefox 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 and download with a click
- Export and save a session at any time, or share it with others
开发者留言
OpenAPI DevTools features an algorithm that turns network requests into an API spec. This happens on device. Network requests are not sent to any servers, nor does the tool make any request or have need to.

To access the tool, open Firefox DevTools and find "OpenAPI" listed as a new tab. While DevTools is open and you select "Begin Recording", the tool receives a copy of each network requests in the HAR format. It then captures REST requests and dispatches them to the algorithm.

The algorithm converts these requests into a performant data structure that enables real-time generation of an OpenAPI 3.1 specification. New requests to the same endpoint are merged into the existing one.

You can specify path parameters in the settings menu. For example given the pathname "/api/posts/my-post", clicking on "my-post" will parameterise this part of the pathname, giving "/api/posts/:param2". This means that any request with a pathname matching "/api/posts/<anything>" will be merged into that endpoint.
评分 5(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
2
4
0
3
0
2
0
1
0
阅读全部 2 条评价
权限与数据详细了解

必要权限:

  • 让开发者工具可以存取您打开的标签页中的数据
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
版本
1.5.2
大小
2.43 MB
上次更新
1 年前 (2024年3月26日)
相关分类
  • 网页开发
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
1.5.2 的发布说明
Key names of `securitySchemes` now follow the expected regex standard, excluding whitespace.
Andrew Walsh 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。