markvincze / sabledocs

Simple static documentation generator for Protobuf and gRPC contracts.
MIT License
45 stars 12 forks source link

Add capability to hide the default column if it's not needed #42

Closed markvincze closed 7 months ago

markvincze commented 7 months ago

There is no point in displaying the "Default value" column if the message does not have any fields with default values. Which applies to all proto3 contracts, as default values are not even supported in version 3.

This PR adds logic to hide the column if the message does not have any fields with default values.