For the time being this is a bit untested work for Laravel Passport to get Swagger OAuth definitions done.
Fixes are more than welcome for this :)
- Clone this repository
- Copy
LooseAnnotations
dir to yourApp
dir - Configure l5-swagger package accordingly
Check your generated Swagger API Documentation to see OAuth stuff :)