mpociot / laravel-apidoc-generator

Laravel API Documentation Generator
https://beyondco.de/docs/laravel-apidoc-generator/
MIT License
3.43k stars 614 forks source link

Documentation Laravel Passport Routes #811

Closed webeleven-tbarbosa closed 3 years ago

webeleven-tbarbosa commented 3 years ago

Hello guys. How can be using this packeg for documentations the laravel passports routes? The routes is locale on packet and not api routes. I have found the solution on doc this package, but I didn't find.

webeleven-tbarbosa commented 3 years ago

I found the solution, overriding the original controller (AccessTokenController) for customized controller.

Follow the stack solution here: https://stackoverflow.com/questions/55054182/how-to-override-issuetoken-method-in-laravel-passport