Modules pour le navigateur Firefox
  • Extensions
  • Thèmes
    • pour Firefox
    • Dictionnaires et paquetages linguistiques
    • Sites pour les autres navigateurs
    • Modules pour Android
Connexion
Aperçu de OpenAPI DevTools

OpenAPI DevTools par 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 critiques)5 (2 critiques)
214 utilisateurs·trices214 utilisateurs·trices
Télécharger Firefox et obtenir l’extension
Télécharger le fichier

Métadonnées de l’extension

Captures d’écran
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.
À propos de cette extension
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
Commentaires du développeur
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.
Noté 5 par 2 personnes
Connectez-vous pour noter cette extension
Il n’y a aucune note pour l’instant

Le nombre d’étoiles est enregistré

5
2
4
0
3
0
2
0
1
0
Lire les 2 critiques
Autorisations et données

Autorisations nécessaires :

  • Ouvrir les outils de développement afin d’accéder à vos données dans les onglets ouverts
En savoir plus
Plus d’informations
Liens du module
  • Page d’accueil
  • Site d’assistance
  • E-mail d’assistance
  • Copy add-on ID
Version
1.5.2
Taille
2,43 Mo
Dernière mise à jour
il y a 2 ans (26 mars 2024)
Catégories associées
  • Développement web
Licence
Licence MIT
Historique des versions
  • Voir toutes les versions
Ajouter à la collection
Signaler ce module
Aller à la page d’accueil de Mozilla

Modules complémentaires

  • À propos
  • Blog des modules complémentaires Firefox
  • Atelier sur les extensions
  • Pôle développeur
  • Politiques à destination des développeurs
  • Blog de la communauté
  • Forum
  • Signaler un problème
  • Guide de revue

Navigateurs

  • Desktop
  • Mobile
  • Enterprise

Produits

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Confidentialité
  • Cookies
  • Mentions légales

Sauf mention contraire, le contenu de ce site est disponible sous licence Creative Commons Attribution Share-Alike v3.0 ou toute version supérieure.