Closed arlexw90 closed 1 month ago
You need to check your base path is set correctly: https://github.com/DarkaOnLine/L5-Swagger/blob/master/config/l5-swagger.php#L90
I have the same problem.
I tried to set the base path through L5_SWAGGER_BASE_PATH
on the .env file, but I get this error:
$ php artisan l5-swagger:generate
Regenerating docs
In Logger.php line 39:
Unexpected field "basePath" for @OA\OpenApi(), expecting "openapi", "info", "servers", "paths", "components", "security", "tags", "externalDocs", "x" in
I think this PR is missing on the 5.5x branch, right? https://github.com/DarkaOnLine/L5-Swagger/issues/147
php -v
): 7.4Description:
Steps To Reproduce:
.../app/Http/Controllers/Controller.php
../app/Http/Controllers/ProductController.php
Access http://127.0.0.1:8000/api/documentation then click the execute button, it doesn't render any response but I noticed some error shown on the console area, you can check my screenshot at above.