func duplicatesError(param *spec.Parameter) *errors.Validation { return errors.DuplicateItems(param.Name, param.In) }
func duplicatesErrorItems(path, in string) *errors.Validation { return errors.DuplicateItems(path, in) }