InfyOmLabs / laravel-generator

API and Admin Panel CRUD Generator for Laravel.
https://www.infyom.com/open-source
MIT License
3.79k stars 813 forks source link

API key and Swagger info is not effect in Laravel 5.2 #405

Closed Sovary closed 7 years ago

Sovary commented 7 years ago

Hello, I have 2 questions:

  1. Why Swagger information in swaggervel.php is not effected on swagger UI such as default-api-version, default-swagger-version?

  2. How can I implement Basic Auth and Oauth2?

Sovary commented 7 years ago

I got the first question, to change swagger UI information successfully I have to change manually in AppBaseController.php which has Swagger annotation information or programatically by change object api_version (URI) in laravel_generator.php and command php artisan infyom:publish (confirm yes to overwrite AppBaseController.php).