laravel-request-docs icon indicating copy to clipboard operation
laravel-request-docs copied to clipboard

Feature Request: Exclusion of Specific Routes for laravel-request-docs Package

Open avinmaster opened this issue 11 months ago • 1 comments

Hi! It's me again.

Is your feature request related to a problem? Please describe. I'm always frustrated when the laravel-request-docs package generates documentation for specific routes that I do not want to include.

Describe the solution you'd like I would like to have the ability to exclude specific routes from the documentation generated by the laravel-request-docs package. This could be achieved by providing a configuration option where I can specify the routes to be excluded.

Describe alternatives you've considered An alternative solution could be to manually edit the generated documentation to remove the unwanted routes, but this is not efficient and can be error-prone.

Additional context It would be helpful to have a configuration file or an option within the existing configuration where I can list the routes that should be excluded from the documentation generation process. This would streamline the documentation process and ensure that only the relevant routes are included.

avinmaster avatar Jan 17 '25 14:01 avinmaster

https://github.com/rakutentech/laravel-request-docs/blob/master/config/request-docs.php#L23

kevincobain2000 avatar Jan 18 '25 01:01 kevincobain2000

Thanks alot @kevincobain2000 this solved my problem i already opened an issue, but i will close it, also i think this issue should be closed too

KedwithGod avatar Jul 29 '25 21:07 KedwithGod

Thanks

kevincobain2000 avatar Jul 30 '25 13:07 kevincobain2000