Versions in this module Expand all Collapse all v1 v1.3.1 Dec 1, 2022 v1.3.0 Nov 28, 2022 Changes in this version + var ErrDuplicateRuleTags = errors.New("tag name already registered") + var ErrMissingPrefix = errors.New("missing tag prefix '" + prefix + "'") + var ErrNilRule = errors.New("rule is nil") + var ErrReferenceIsNil = errors.New("reference is nil") + type InheritNonExistingTagError struct + func (i InheritNonExistingTagError) Error() string + type InvalidTypeError struct + func (i InvalidTypeError) Error() string + type UnknownPathError struct + func (u UnknownPathError) Error() string + type UnknownRuleError struct + func (u UnknownRuleError) Error() string + type Validator struct + func NewValidator(referenceType reflect.Type) (*Validator, error) + func (v *Validator) RegisterRule(key string, rule rule.Rule) error + func (v *Validator) UseReference(referenceType reflect.Type) error + func (v Validator) Validate(operationSpec operation.Spec) error