Browser extension that generates API specs for any app or website

apidevtoolsgeneratoropenapispecificationopenapi31chrome-extensionopenapi3
Crecimiento de estrellas
Estrellas
4.3k
Forks
86
Crecimiento semanal
+1
Issues
0
3.6k3.8k4k4.2k
oct 2023sept 2024sept 2025sept 2026
Artefactosnpm
README

MIT License Download in the Chrome Web Store Download in the Firefox Add-on Store

[!IMPORTANT]
A new and final version of this project is available below. It has been rewritten from scratch and significantly expands the feature set of OpenAPI DevTools.

New features:

  • Identifies path parameters automatically
  • Is available as a desktop app that uses a proxy (e.g. see mitm2swagger)
  • Has a website and command line tool that can generate OpenAPI specifications from HAR files (e.g. har-to-openapi)
  • Uses a published library that can generate API specifications for any API in middleware, DevOps integrations, or any environment
  • Can generate curl commands, client code, and send API requests via an API client that populates automatically
  • Is agnostic to API semantics and may translate into different versions of OpenAPI, or reverse engineer other HTTP-based standards such as GraphQL
  • Includes all original features, including the ability to import and export

---> Check out the new version of OpenAPI DevTools here


Open API dev tools

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

(back to top)

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 extracted dist directory
  • Open a new tab and then select OpenAPI in the developer tools (open with cmd+i or ctrl+i)
  • Firefox is more challenging. Please use the add-on store.

(back to top)

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.

(back to top)

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.

(back to top)

Contributing

To develop the project:

  • npm install
  • npm run dev

(back to top)

Repositorios relacionados
public-apis/public-apis

A collective list of free APIs

PythonPyPIawesomeMIT Licenseapipublic-apis
apilayer.com
477.7k52.7k
neovim/neovim

Vim-fork focused on extensibility and usability

Vim ScriptlibraryOtherneovimc
neovim.io
102.2k7.1k
fastapi/fastapi

FastAPI framework, high performance, easy to learn, fast to code, ready for production

PythonPyPIlibraryMIT Licensepythonjson
fastapi.tiangolo.com
102.2k9.9k
hoppscotch/hoppscotch

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

TypeScriptnpmlibraryMIT Licenseapiapi-client
hoppscotch.io
80.3k6.1k
ocornut/imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

C++appMIT Licenseguigamedev
76.1k12k
typicode/json-server

Get a full fake REST API with zero coding in less than 30 seconds (seriously)

JavaScriptnpmlibraryMIT Licenseapifake
75.7k7.3k
strapi/strapi

🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable, and developer-first.

TypeScriptnpmOtherstrapinodejs
strapi.io
73.1k9.9k
meilisearch/meilisearch

A lightning-fast search engine API bringing AI-powered hybrid search to your sites and applications.

Rustcrates.iolibraryOthersearch-enginetypo-tolerance
meilisearch.com
59.2k2.7k
mudler/LocalAI

LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.

GoGo ModuleslibraryMIT Licensellamaai
localai.io
49k4.4k
ccxt/ccxt

A unified trading API with more than 100 crypto exchanges and prediction markets in JavaScript / TypeScript / Python / C# / PHP / Go / Java / Rust

Rustcrates.iolibraryMIT Licensealtcoinapi
docs.ccxt.com
43.9k8.8k
chatanywhere/GPT_API_free

免费大模型API,支持免费调用GPT、DeepSeek等主流模型,免费额度10000点,每日刷新!另付费价格最低官方1-2折!

libraryMIT Licenseapichatgpt
api.chatanywhere.tech
42.1k2.7k
trpc/trpc

🧙‍♀️ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.

TypeScriptnpmlibraryMIT Licensetypescriptapi
trpc.io
40.6k1.7k