ocp-diag-core icon indicating copy to clipboard operation
ocp-diag-core copied to clipboard

[output spec] validator object field "value" should contain list

Open mimir-d opened this issue 2 years ago • 1 comments

The validator reference value field has a primitive type currently (bool, numeric, string), but for some of the types (set in, not in) it should also be a list of primitives.

Change is trivial, in Validator object attributes:

    <tr>
        <td><em>value</em></td>
        <td>JSON: string, number, boolean</td>
        <td><strong>Yes</strong></td>
        <td>The value to use on the right side of the arithmetic comparison.</td>
    </tr>

to

    <tr>
        <td><em>value</em></td>
        <td>JSON: string, number, boolean, array</td>
        <td><strong>Yes</strong></td>
        <td>The value to use on the right side of the validation. If an array, it must be homogenous and contain supported primitive types.</td>
    </tr>

mimir-d avatar Jan 13 '23 05:01 mimir-d