You can optionally specify a version to get a specific version of the service
@example
import utils from'@eventcatalog/utils'; const{ getService }=utils('/path/to/eventcatalog'); // Gets the latest version of the event const service =awaitgetService('InventoryService'); // Gets a version of the event const service =awaitgetService('InventoryService','0.0.1');
Returns a service from EventCatalog.
You can optionally specify a version to get a specific version of the service