func minLengthError(param *spec.Parameter) *errors.Validation { return errors.TooShort(param.Name, param.In, *param.MinLength) }
func minLengthErrorItems(path, in string, items *spec.Items) *errors.Validation { return errors.TooShort(path, in, *items.MinLength) }