Coder Social home page Coder Social logo

andrewwalsh / openapi-devtools Goto Github PK

View Code? Open in Web Editor NEW
3.8K 21.0 62.0 47.75 MB

Browser extension that generates API specs for any app or website

Home Page: https://chrome.google.com/webstore/detail/openapi-devtools/jelghndoknklgabjgaeppjhommkkmdii

License: MIT License

HTML 0.71% TypeScript 98.29% JavaScript 0.08% CSS 0.91%
api devtools generator openapi specification openapi31 chrome-extension openapi3

openapi-devtools's People

Contributors

andrewwalsh avatar debakarr avatar madeindjs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openapi-devtools's Issues

Running on the background

Excellent tool, congrats for hn # 1!

Would it be possible to opt-in always running the extension on the background, so that you don't need to worry about profiling a specific website, and just passively collect all API's you've accessed?

Might be relevant when you've lost access to a front (or if the front gets taken down) and you'd like to directly communicate with the API.

Feature Request: Session Continuation and OpenAPI Specification Import

Currently, closing the browser results in a loss of the generated OpenAPI specification data. To enhance usability and continuity, could we consider the following features?

  1. Implementing a session save feature that allows users to pause and resume their recording sessions at a later time.

  2. Providing an option to upload a JSON file of a previously downloaded OpenAPI specification, enabling users to continue recording from where they left off.

Record auth headers

Awesome work! I have one feature request though - could it record auth headers/tokens? This would be super useful for logging which requests require authorization and how to send an authorized request

Bug: OpenAPI tab not showing in google chrome.

On Windows 11 running Chrome Version 119.0.6045.106 (Official Build) (64-bit)

This could be a misunderstanding on my part but my assumption is that post install, it would show either in this list.

image

or in this list

image

If there is something more to do in order to get it to show up it might be worth putting in the readme.

Feature ideas/requests

I left ideas in HN comments but leaving them here for posterity:

  1. Ability to filter response properties.
  2. Ability to work with non-JSON (web scraping) by defining a mapping of CSS selectors to response properties.
  3. Cross-reference host names of captured requests with publicly documented APIs.
  4. If auth headers are found, prompt the user for credentials that can then be stored locally.
  5. "Repeater" functionality similar to the feature found in Burp Suite.
  6. Generate clients on the fly based on the generated OpenAPI spec.
  7. Train a machine learning model to recognize and extract tabular and repeated data based on training data.
  8. Optionally publish generated OpenAPI specs to a central site or open PR to a GH repo, "awesome-openapi-devtools"?
  9. Look for embedded data similar to what https://github.com/BishopFox/jsluice extracts and offer it as endpoints.

For some of these features, it may make sense to incorporate a server-side component. For example, sending captured data to be trained (7) or cross-referencing with existing documented APIs based on the host names (3).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.