YANG model with 2 prefixes

We have a YANG model with 2 generated fxs files that correspond to two different prefixes. Both are loaded to confd. They are linked to the same callpoint.

The strange thing is that when we perform a curl GET comman under /api/running/prefixA:pathA/etc

the getElem function is also called for /api/running/prefixB:pathB/etc (for some default values that have some rules inside the yang file)

How can we avoid such malfunction ?

Any input from the people of tailf so far ???

Can you share a YANG snippet showing both paths: pathA and pathB?
I am not sure I understand “(for some default values that have some rules inside the yang file)”, in the context of operational data.