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

Allow for iterable match config

Open aaronaccessvr opened this issue 2 years ago • 1 comments
trafficstars

The Str::is() method is used for testing the matches against URIs and route names; Str::is($match) is allowed to be either a string or an iterable. By modifying the LaravelApiExplorer::filterRoutes() method to filter the config laravelapiexplorer.match as if it could be a string or an iterable, we thereby allow for using an iterable in the configuration. This allows for more control over which routes appear in the explorer, without having to use the ignore configuration.

aaronaccessvr avatar Aug 01 '23 11:08 aaronaccessvr

Is this project abandoned?

aaronaccessvr avatar Oct 03 '23 00:10 aaronaccessvr