func patternFail(param *spec.Parameter) *errors.Validation { return errors.FailedPattern(param.Name, param.In, param.Pattern) }
func patternFailItems(path, in string, items *spec.Items) *errors.Validation { return errors.FailedPattern(path, in, items.Pattern) }