protoc-gen-doc
protoc-gen-doc copied to clipboard
Documentation for Map Entry
I'd like to generate a documentation for proto3 files. Therefore I trying to use protoc-gen-doc. I'm using maps in some messages and I couldn't find a way to document the generated Map Entry documentation.
Example Message:
/**
- Test */ message ResponseProtobuf { map<string, string> information = 1; //Map description }
Output Documentation:
ResponseProtobuf
Test descripstion Field Type Label Description information ResponseProtobuf.InformationEntry repeated info descripton
ResponseProtobuf.InformationEntry
Field Type Label Description
key string
value string
The problem is, that the ResponseProtobuf.InformationEntry is auto generated and I don't know how to generate a doc for the key and value. Is there a way to document them? Is there a user documentation?
This question was asked almost 2 years ago. What is the status of this feature?
i have the same issue, i can see label and description but how to add the values for it?
same question
same problem here
I would still love a solution to this problem. :)