laravel-api-explorer
laravel-api-explorer copied to clipboard
[feature] Add support to laravel-actions
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