Skip to content
 
 

Repository files navigation

bruno-api-docs

@opencollection/docs — an interactive API documentation site and request playground for the OpenCollection format.

Point it at an OpenCollection and it renders a browsable docs site: a sidebar of requests, per-request documentation (params, headers, body, auth, scripts, assertions), and a live playground that sends the request and shows the response.

Install

npm install @opencollection/docs

Usage

It ships three ways:

  • React component — import OpenCollection and pass it a collection.
  • Standalone bundle — a self-contained JS/CSS build (dist-standalone/) for dropping into any page, served from the CDN.
  • Express / server entry — render the docs from a Node server.

See examples/ for a working setup of each (react, standalone-html, express-server).

Development

Work happens in packages/bruno-api-docs. See contributing.md for setup, dev/test/build commands, and the PR flow.

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages