mtrajano / laravel-swagger

Auto generates the swagger documentation of a laravel project based on best practices and simple assumptions
167 stars 71 forks source link

Support to read Dingo API Routes #12

Open vafrcor opened 4 years ago

vafrcor commented 4 years ago

Is there any possibility to support swagger generator for Dingo API Routes (php artisan api:routes). references:

mtrajano commented 4 years ago

Hey, although I think supporting other router service providers may be outside of the scope of this package, I will look to see if it’s as simple as passing a configuration for a new Router service provider (assuming they have the same interface). I probably can’t get to this until tomorrow so feel free to submit a pr if you get to it before me!

trinvh commented 4 years ago

@mtrajano You can find an example code here #42

I would be pleased to make a PR, please update a guideline in README file for contributors.