Support for type empty in Union

hi , We are using confd 7.1. confdc is complaining when we are trying to generate fxs for O-RAN yang that has type empty in union. In Confdc documentation I do see this is one of the exceptions in yang 1.1 support.
Is this supported in any new version? or with 7.1 do we have any workarounds to support the same?

Thanks in advance.

Empty type in a union is not supported.

As a workaround, you can edit your model to use a type like:

type string {
length 0;
}
1 Like