zanzan MemberComments: 0 Received thanks: 0 Member since: December 2020 edited January 5

I have created a piugin named `SwagMasterAPI`. I have to get some products from different API. But when I try to add it to the service I am getting following error:

`The service "SwagMasterApi\Service\CarService" has a dependency on a non-existent service "MasterDataApi\Model\Api".`

Here are the files I have created.


use MasterApi\Model\Api;
class CarService
    public function __construct(Api $api)
        $this->api = $api;





Sign In or Register to comment.