laravel icon indicating copy to clipboard operation
laravel copied to clipboard

How to include request classes so that other libraries can inspect them?

Open aruku opened this issue 2 years ago • 1 comments

I've been trying to use a library like https://github.com/RonasIT/laravel-swagger, but it has not been possible because it needs the request class in the controller to inspect it in order to generate the documentation.

Is currently there a way to do this? Could it be implemented somehow?

For reference, here is the thread I opened in that repo: https://github.com/RonasIT/laravel-swagger/issues/86

aruku avatar Jun 06 '23 07:06 aruku

Unfortunately I'm having to remove the request classes, because to implement Atomic Operations we need to decouple the implementation from Laravel's form requests. That is explained in #238

So we'll need to implement our own documentation generation, which is something that can be looked at after the v4 implementation.

lindyhopchris avatar Jun 06 '23 09:06 lindyhopchris