laravel-api-explorer icon indicating copy to clipboard operation
laravel-api-explorer copied to clipboard

[feature] Add support to laravel-actions

Open phiter opened this issue 5 years ago • 0 comments
trafficstars

Hey! In our team, we're using the laravel-actions package, and with this package some things work a bit different from what Laravel originally does.

The routes are being listed currently but the api explorer can't list the rules and can't show the description above the handle function.

The latter problem could be resolved by identifying the usage of this package (maybe check if the "controller" class extends Lorisleiva\Actions\Action) and use the handle method instead on this line:

https://github.com/netojose/laravel-api-explorer/blob/20cac3096d8327283b68aead834a226d76d9a170/src/LaravelApiExplorer.php#L113

phiter avatar Dec 12 '19 13:12 phiter