/passport-swagger-annotations

Loose Swagger Annotations File for Laravel Passport OAuth endpoints

Primary LanguagePHP

Swagger Annotations for Laravel Passport 4

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 :)

Instructions

  • Clone this repository
  • Copy LooseAnnotations dir to your App dir
  • Configure l5-swagger package accordingly

Check your generated Swagger API Documentation to see OAuth stuff :)