OpenAPI Copy par 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.
Disponible sur Firefox pour AndroidâąDisponible sur Firefox pour Androidâą
Scannez le code QR pour ouvrir cette extension dans Firefox pour Android
MĂ©tadonnĂ©es de lâextension
Captures dâĂ©cran
Ă propos de cette extension
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
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)
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
- 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. - Use the Copy button that appears next to each operation, or pick endpoints from
the popup list. - 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)
Noté 0 par 1 personne
Autorisations et données
Collecte de données :
- Le dĂ©veloppeur indique que cette extension nâa pas besoin de collecter de donnĂ©es.
Plus dâinformations
- Version
- 1.0.0
- Taille
- 91,61Â Ko
- DerniĂšre mise Ă jour
- il y a 9 jours (6 août 2026)
- Catégories associées
- Licence
- Licence MIT
- Historique des versions
- Ajouter Ă la collection