As part of the initial push for YANGTOOLS-1150, we have created yang.model.api.source and yang.model.spi.source packages to host the various interfaces related to model sources.
Unfortunately YangTextSource and YinTextSource have landed in yang.model.spi.source, meaning all users of these constructs are forced to depend on yang-models-spi – which is inappropriate for things like mdsal-dom-api.
Fix this by rehosting these two classes to yang-model-api and exposing individual implementations form yang.model.spi (as there is no longer a single class to host static factory methods).
As part of the initial push for YANGTOOLS-1150, we have created yang.model.api.source and yang.model.spi.source packages to host the various interfaces related to model sources.
Unfortunately YangTextSource and YinTextSource have landed in yang.model.spi.source, meaning all users of these constructs are forced to depend on yang-models-spi – which is inappropriate for things like mdsal-dom-api.
Fix this by rehosting these two classes to yang-model-api and exposing individual implementations form yang.model.spi (as there is no longer a single class to host static factory methods).