envoyproxy/envoy

Use validate tags to auto generate markup

Aperta

#3092 aperta il 16 apr 2018

 (0 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
api/v3area/docshelp wantedpriority/high

Metriche repository

Star
 (27.997 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

It would be nice to leverage protoc-gen-validate tags to autogenerate markup about field constraints.

For instance for https://github.com/envoyproxy/data-plane-api/blob/2f7459baf7c95cf7e634f848948a022c4b16fa79/api/eds.proto#L94 it would be nice to add a note that mentioned the constraint.

Migrated from https://github.com/envoyproxy/data-plane-api/issues/311

Guida contributor