Subject: Re: [patch net-next v3 1/2] tools: ynl-gen: lift type requirement for attribute subsets

From: Jiri Pirko <[email-masked]>
Date: Fri, 6 Oct 2023 18:55:37 +0200

Fri, Oct 06, 2023 at 05:00:39PM CEST, [email-masked] wrote:
>On Fri,  6 Oct 2023 13:44:35 +0200 Jiri Pirko wrote:
>> +      # type property is only required if not in subset definition
>> +      if:
>> +        properties:
>> +          subset-of:
>> +            not:
>> +              type: string
>> +      then:
>> +        properties:
>> +          attributes:
>> +            items:
>> +              required: [ type ]
>
>Nice!

Took me like 3 hours debugging this. These json schemas are from
different world than I am...

>
>Reviewed-by: Jakub Kicinski <[email-masked]>