Skip to content
This repository was archived by the owner on Aug 26, 2020. It is now read-only.

Latest commit

 

History

History
28 lines (19 loc) · 716 Bytes

File metadata and controls

28 lines (19 loc) · 716 Bytes

(Moved) Documentation generator for GraphQL

Markdown generator for documenting GraphQL schema

Download binary in Releases or download docker image mvochoa/graphqldoc

Use

Generate dir doc/ with markdown files

$ graphqldoc http://localhost:8080/graphql

Compile

Is need go-bindata https://github.com/go-bindata/go-bindata

go get github.com/go-bindata/go-bindata/...
$ go-bindata -o assets.go template/
$ sed -i '' 's/package\ main/package\ graphqldoc/g' assets.go # Change package of assets.go file
$ cd cmd/
$ go install -v