Skip to content

Get lrd-param from phpdocs in DTO rules method (without FormRequest) #407

@rubenclerigo-truyol

Description

@rubenclerigo-truyol

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions