Replies: 2 comments 3 replies
-
Hey @szana8! That definitely makes sense. Can you please tell me more about your expectations? Do you simply want to know that there may be 422 response, or you would like to see its structure as well? 🧐 |
Beta Was this translation helpful? Give feedback.
3 replies
-
Closing as was added to Scramble |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
If it is possible it would be great to have another response when a Laravel Request object has been used in the controller for request validation.
For example a CreateUserRequest contains some rules and messages to check the request. If it fails Laravel automatically return with an exception based on the rule messages. This is really important to put this information into the API doc.
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions