func maxItemsError(param *spec.Parameter) *errors.Validation { return errors.TooManyItems(param.Name, param.In, *param.MaxItems) }
func maxItemsErrorItems(path, in string, items *spec.Items) *errors.Validation { return errors.TooManyItems(path, in, *items.MaxItems) }