Open buzzdan opened 3 years ago
Are there any plans to implement this. IMO this will be a great addition.
There is some support already. See https://github.com/pseudomuto/protoc-gen-doc/tree/master/extensions/envoyproxy_validate
Thanks @jtjeferreira for your response. I added validate rules but nothing changes in the Markdown output. Do I have to do anything extra to make this extension work? May be the default template doesn't output valiation rules?
I think that not all validation rules are considered, but some are. An example from my project
Strange. I don't have any section called Validated Fields
in my Markdown output.
Do you use Docker image to run the plugin?
Strange. I don't have any section called Validated Fields in my Markdown output.
This was the html output...
Do you use Docker image to run the plugin.
yes
@jtjeferreira I see them in HTML output. Looks like the validation fields were just added to default HTML template.
Thanks a lot. I think I should be able to use a custom markdown template to get the desired output.
hello, i'm using protoc-gen-doc to generate markdown for my protos it would be greate if it could also generate documentation for the validations rules i define via envoyproxy PGV (protoc-gen-validate). for example:
thanks a lot for this project :pray: