A tool used to parse Google protocol buffer message to JSON or html
go get github.com/wangming1993/pb2doc
Build pb
package under ./proto
folders and write HTML files to ./dist
folder
pb2doc build pb from ./protos
# change output folder
pb2doc build pb from ./protos --dist=html
- recursive parse message
- support grpc service
- configurable doc type, maybe JSON,html or swagger
- annotation-based service description