Endpoints can have paths of any length and `fromEndpoint` assumes that the path is simply `{version}/{endpoint-name}`. Publish requires this to change to allow the path to be used instead