MCPcopy Index your code
hub / github.com/DapperDox/dapperdox

github.com/DapperDox/dapperdox @v1.2.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.2.2 ↗ · + Follow
261 symbols 604 edges 21 files 111 documented · 43%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

DapperDox   Build Status Download

Beautiful, integrated, OpenAPI documentation.

Themed documentation generator, server and API explorer for OpenAPI (Swagger) Specifications. Helps you build integrated, browsable reference documentation and guides. For example, the Companies House Developer Hub built with the alpha version.

DapperDox logo

Features

  • Author full documentation in GitHub Flavoured Markdown.
  • Document multiple API specifications as a suite of cross-referenced products.
  • Seamlessly overlay content onto the automatically generated reference documentation.
  • Integrate the built-in API explorer with your APIs and authentication model.
  • Proxy your developer platform, allowing full integration of API key management.
  • Choose from multiple themes, or create your own.

Documentation and usage

Detailed usage instructions are available on the DapperDox website http://dapperdox.io.

Quickstart

We provide the lastest release builds for the most common operating systems and architectures, which you can download from releases, or you can build from source by cloning this repo.. See downloads for further information.

Build from source

First build DapperDox (this assumes that you have your golang environment configured correctly):

go get && go build

Running DapperDox

Start up DapperDox, pointing it to your OpenAPI 2.0 specification file:

./dapperdox -spec-dir=<location of OpenAPI 2.0 spec>

DapperDox looks for the file swagger.json at the -spec-dir location, and builds reference documentation for the OpenAPI specification it finds. For example, the obligatory petstore OpenAPI specification is provided in the examples/specifications/petstore directory, so passing parameter -spec-dir=examples/specifications/petstore will build the petstore documentation.

DapperDox will default to serving documentation from port 3123 on all interfaces, so you can point your web browser at http://127.0.0.1:3123 or http://localhost:3123.

For an out-of-the-box example, execute the example run script:

./run_example.sh

This demonstrates many of the configuration options available. See configuration.

Acknowledgements

Many thanks to Ian Kent who spiked the Golang implementation of DapperDox as part of a bigger project. His commit history was lost when DapperDox was extracted into a stand-alone project, but its core retains his valuable work.

David Mort for painstaking testing, and bug fixing.

Core symbols most depended-on inside this repo

l
called by 9
assets/static/js/highlight.pack.js
c
called by 9
assets/static/js/FileSaver.js
TitleToKebab
called by 8
spec/spec.go
getMethod
called by 7
spec/spec.go
Levelf
called by 6
logger/logger.go
Levelln
called by 6
logger/logger.go
o
called by 6
assets/static/js/highlight.pack.js
b
called by 5
assets/static/js/highlight.pack.js

Shape

Function 193
Method 37
Struct 21
TypeAlias 10

Languages

Go62%
TypeScript38%

Modules by API surface

assets/static/js/jquery-1.8.0.min.js60 symbols
spec/spec.go52 symbols
render/render.go26 symbols
assets/static/js/highlight.pack.js23 symbols
logger/logger.go22 symbols
render/asset/asset.go12 symbols
assets/static/js/FileSaver.js11 symbols
handlers/reference/reference.go10 symbols
handlers/timeout/timeout.go7 symbols
handlers/guides/guides.go7 symbols
assets/static/js/explorer.js6 symbols
navigation/navigation.go5 symbols

For agents

$ claude mcp add dapperdox \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact