plugin-barman-cloud/hack
Marco Nenciarini fee70c33e4
fix(docs): filter Optional markers from validation column
The crd-ref-docs tool automatically recognizes the +optional marker
comments in Go code and renders them as validation entries. A recent
upstream change in github.com/elastic/crd-ref-docs master branch
started rendering these as `Optional: {}` text in the validation
column, which looks like an empty JSON object and is redundant since
the Required column already shows this information.

Update the documentation template to filter out these Optional markers
while preserving meaningful validation rules like patterns and enums.
Also remove the now-redundant customMarkers configuration, as the
current version of crd-ref-docs recognizes the optional marker without
explicit configuration.

Closes #722

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2026-01-09 18:18:35 +01:00
..
crd-gen-refs fix(docs): filter Optional markers from validation column 2026-01-09 18:18:35 +01:00
examples feat: introduce logLevel setting to control verbosity (#536) 2025-09-24 12:32:59 +02:00
minio feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00
boilerplate.go.txt feat(ip): assign copyright to the Linux Foundation (#571) 2025-10-07 18:06:06 +02:00
kind-config.yaml test(e2e): run on ephemeral clusters (#128) 2025-01-07 14:24:12 +01:00