Extras do Firefox
  • Extensões
  • Temas
    • para o Firefox
    • Dicionários e pacotes de idiomas
    • Outros sites de navegadores
    • Extras para Android
Iniciar sessão
Pré-visualização de OpenAPI DevTools

OpenAPI DevTools por 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)
180 Users180 Users
Irá necessitar do Firefox para utilizar esta extensão
Transferir o Firefox e obter a extensão
Transferir ficheiro

Metadados da extensão

Capturas de ecrã
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.
Acerca desta extensão
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
Comentários do programador
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.
Rated 5 by 2 reviewers
Iniciar sessão para avaliar esta extensão
Não existem avaliações ainda

Avaliação de estrelas guardada

5
2
4
0
3
0
2
0
1
0
Ler todas as 2 análises
Permissions and dataSaber mais

Permissões necessárias:

  • Estender as ferramentas de programador para aceder aos seus dados em separadores abertos
Mais informação
Ligações do extra
  • Página inicial
  • Site de apoio
  • Email de apoio
Versão
1.5.2
Tamanho
2,43 MB
Última atualização
há um ano (26 de mar de 2024)
Categorias relacionadas
  • Desenvolvimento da web
Licença
MIT License
Histórico de versões
  • Ver todas as versões
Adicionar à coleção
Reportar este extra
Notas de lançamento para 1.5.2
Key names of `securitySchemes` now follow the expected regex standard, excluding whitespace.
Mais extensões por Andrew Walsh
  • Não existem avaliações ainda

  • Não existem avaliações ainda

  • Não existem avaliações ainda

  • Não existem avaliações ainda

  • Não existem avaliações ainda

  • Não existem avaliações ainda

Ir para a página inicial da Mozilla

Extras

  • Acerca
  • Blogue de extras do Firefox
  • Workshop de extensões
  • Central do programador
  • Políticas de programador
  • Blogue da comunidade
  • Fórum
  • Reportar um erro
  • Guia de análise

Navegadores

  • Desktop
  • Mobile
  • Enterprise

Produtos

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacidade
  • Cookies
  • Informação legal

Exceto onde anotado o contrário, o conteúdo neste site está licenciado sob a licença Creative Commons Atribuição-CompartilhaIgual v3.0 ou qualquer versão mais recente.