Replies: 1 comment 4 replies
-
Hi, sounds interesting! You can proceed with PR or before that give an example what you think this command will generate so we could have discussion before you put code in |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, esteemed community.
In many projects, I often encounter the need to write PHP classes for Requests and Responses, as the code examples provided in
swagger-php
examples do not always fully meet the requirements for solving such tasks.Therefore, I would like to discuss the possibility of implementing an Artisan command for generating these classes (similar to how it's implemented in Laravel with commands like
artisan make:controller
, etc.).For example, we could introduce a command like:
artisan l5-swagger:make-schema SchemaName
What are your thoughts on this?
Beta Was this translation helpful? Give feedback.
All reactions