hashicorp / vault-client-go

HashiCorp Vault Go Client Library generated from OpenAPI spec.
Mozilla Public License 2.0
84 stars 17 forks source link

Fix warnings during generation due to missing summary and description #178

Closed maxb closed 1 year ago

maxb commented 1 year ago

Description

Currently, if you run make generate | grep WARN there are thousands of warnings due to endpoints missing summaries or descriptions.

The overwhelming number of warnings makes it harder to spot genuine errors in the templates - e.g. #177.

This change wraps each unconditional reference to summary or description in an {{#if}} to cure the warnings.

How has this been tested?

There are no changes to the generated files as a result of these changes - just the warnings are cured.