Step 3: To configure the REST API L5-Swagger Documentation run below command:
php artisan bagisto-rest-api:install
Now shows an error like this:
Step: Publishing L5Swagger Provider File...
ERROR Command "vendor:publish --tag=bagisto-rest-api-swagger" is not defined. Did you mean one of these?
⇂ vendor:publish
Possible Solution:
Need to fix this error should be install without any error api setup
When we add this rest api then shows an error in installer time
How To Reproduce:
Step 1: Install bagisto 2.0
Step 2: Now run the below command:
composer require bagisto/rest-api dev-master
Add below options in the .env file (i.e. http://localhost/public your domain):
SANCTUM_STATEFUL_DOMAINS=http://localhost/public
Step 3: To configure the REST API L5-Swagger Documentation run below command:
php artisan bagisto-rest-api:install
Now shows an error like this:
Possible Solution:
Need to fix this error should be install without any error api setup