From 889f7a26ec1da89a57008fe2adff96f55fdcbaa8 Mon Sep 17 00:00:00 2001 From: Severin Date: Fri, 12 Sep 2025 17:17:22 +0200 Subject: [PATCH] omit patternDescription from yaml schema --- schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema.go b/schema.go index 94b4530d..9c42c0b9 100644 --- a/schema.go +++ b/schema.go @@ -112,7 +112,7 @@ type Schema struct { MinLength *int `yaml:"minLength,omitempty"` MaxLength *int `yaml:"maxLength,omitempty"` Pattern string `yaml:"pattern,omitempty"` - PatternDescription string `yaml:"patternDescription,omitempty"` + PatternDescription string `yaml:"-"` MinItems *int `yaml:"minItems,omitempty"` MaxItems *int `yaml:"maxItems,omitempty"` UniqueItems bool `yaml:"uniqueItems,omitempty"`