Dodatki do przeglądarki Firefox
  • Rozszerzenia
  • Motywy
    • do Firefoksa
    • Słowniki i pakiety językowe
    • Inne strony
    • Dodatki na Androida
Zaloguj się
Podgląd „OpenAPI Copy”

OpenAPI Copy Autor: GusevP

Copies one endpoint out of an OpenAPI spec - with every schema it references - as a self-contained document you can paste into an LLM. Buttons next to each operation in Swagger UI, plus a popup with a filter and multi-select. YAML or JSON.

Dostępne w Firefoksie na Androida™Dostępne w Firefoksie na Androida™
0 (recenzje: 0)0 (recenzje: 0)
Pobierz Firefoksa i to rozszerzenie
Pobierz plik
Zeskanuj kod QR, aby otworzyć to rozszerzenie w przeglądarce Firefox dla Androida

Metadane rozszerzenia

Zrzuty ekranu
O tym rozszerzeniu
Copy one endpoint out of an OpenAPI spec — with every schema it references — and
paste it straight into a chat with an LLM.

A full spec is 100–500 KB and eats an assistant's whole context window. Cutting out
the part you need by hand is not an option either: in Swagger UI the schema is
rendered as a tree of divs, so copying from the page gives you text, not a spec.
OpenAPI Copy gives you a self-contained OpenAPI document, usually 1–3 KB.

How it works
  1. Open a Swagger UI page and click the toolbar icon. Nothing is requested at
    install time — the extension reads the page only after that click.
  2. Use the Copy button that appears next to each operation, or pick endpoints from
    the popup list.
  3. Paste. The output is a valid OpenAPI document, in YAML or JSON.

What you get

• Four modes: the whole endpoint, only its request body, only the 2xx response, or
the entire spec.
• Every $ref resolved inside the copied document. Components are collected
transitively, so recursive schemas (Comment.replies: [Comment]) and allOf branches
survive intact.
• Security schemes included in every mode — they are not reachable through $ref, and
without them an assistant does not know about your auth header.
• A filter and multi-select in the popup, for grabbing several endpoints at once.
• Swagger 2.0 as well as OpenAPI 3: definitions, securityDefinitions and body
parameters are handled by the same code path.
• Bare spec files work too — open openapi.json or /api-docs directly and the popup
parses the page itself.
• A manual URL field for pages that carry no spec of their own.

Permissions

The extension asks for nothing at install time. It reads a page only after you click
the icon, and it requests access to a site only when you turn on "Always on this
site" for that site — switching it back off drops both the registration and the
permission.

Nothing is collected and nothing is sent anywhere. The spec never leaves your
browser; the only thing stored is your YAML/JSON preference.

Limitations

• In-page buttons are built for Swagger UI. On other renderers the popup still works,
there are simply no buttons in the page.
• A spec inlined into the HTML is not detected — only specs the page loaded as a
separate request, plus the page itself.
• The request-body and response modes drop fields the OpenAPI specification requires.
That output is a fragment meant for an LLM, not a document for a validator.

Source code: https://github.com/GusevP/openapi-copy-extension (MIT)
Ocenione na 0 przez 0 recenzentów
Zaloguj się, aby ocenić to rozszerzenie
Nie ma jeszcze ocen

Zapisano ocenę w gwiazdkach

5
0
4
0
3
0
2
0
1
0
Nie ma jeszcze recenzji
Uprawnienia i dane

Zbieranie danych:

  • Autorzy tego rozszerzenia twierdzą, że nie wymaga ono zbierania danych.
Więcej informacji
Więcej informacji
Odnośniki dodatku
  • Domowa
  • Pomoc
  • Skopiuj identyfikator dodatku
Wersja
1.0.0
Rozmiar
91,61 KB
Ostatnia aktualizacja
9 dni temu (6 sie 2026)
Powiązane kategorie
  • Narzędzia twórców witryn
Licencja
Licencja MIT
Historia wersji
  • Wszystkie wersje
Dodaj do kolekcji
Zgłoś ten dodatek
Strona domowa Mozilli

Dodatki

  • O serwisie
  • Blog dodatków do Firefoksa
  • Warsztat rozszerzeń
  • Strefa autora
  • Zasady programistów
  • Blog społeczności
  • Forum
  • Zgłoś błąd
  • Wytyczne recenzji

Pobieranie

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Najnowsze kompilacje

  • Nightly
  • Beta

Firefox dla firm

  • Enterprise

Społeczność

  • Connect
  • Contribute
  • Developer

Obserwuj nas

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Prywatność
  • Ciasteczka
  • Kwestie prawne

O ile nie wskazano inaczej, treść tej strony jest dostępna na warunkach licencji Creative Commons Attribution Share-Alike w wersji 3.0 lub nowszej. Android jest znakiem towarowym firmy Google LLC.