pseudomuto / protoc-gen-doc

Documentation generator plugin for Google Protocol Buffers
MIT License
2.61k stars 462 forks source link

Extend markdown template #412

Closed kdo-xyt closed 4 years ago

kdo-xyt commented 4 years ago

Need to display 3 more informations in markdown documentation (all present in proto files):

  1. Id - which represent unique field number (https://developers.google.com/protocol-buffers/docs/proto3#assigning-field-numbers)

  2. Is field Oneof type (https://developers.google.com/protocol-buffers/docs/proto3#oneof)

  3. Protobuf description (if present) to each field

Is it possible? Need to develop template or any other solution?

kdo-xyt commented 4 years ago

Changed markdown template, and seems that everything works fine.