Project

General

Profile

Actions

Bug #22754

closed

Content view filter rule name param is wrongly documented as enum

Added by Tomáš Strachota almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The author probably intended to mark that the parameter accepts either string or array:

param :name, [String, Array], :desc => N_("package, package group, or docker tag names")

but apipie (and hammer) interprets this array syntax as enum and actually validates if the value is "String" or "Array".


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #22753: Some API parameters are wrongly documented as enum typesClosedTomáš Strachota03/02/2018Actions
Has duplicate Hammer CLI - Bug #23214: cannot create content view filter ruleDuplicate04/11/2018Actions
Actions

Also available in: Atom PDF