laravel-request-docs
laravel-request-docs copied to clipboard
Get lrd-param from phpdocs in DTO rules method (without FormRequest)
Hello
Congrats for such a handy tool. I am looking for an effortless documentation tool and this is the one I like best from all I have checked.
I just miss a feature I hope you could find interesting:
I don't use FormRequest as my Controllers receive Data objects as params, and DTO's rules() validations show in request-docs page. So far so good. But, if I try to add a description to any tricky param that needs extra explanations, the @lrd-param included in phpdoc comment for my DTO's rules() method is not showing in request-docs page. This does happens when phpdocs are in FormRequest rules() method, I hope you could make both behave the same.
Thanks in advance.