laravel-request-docs: [BUG] Unexpected token '<', " Describe the bug
When I have define Route::resource in route file but not create all the methos in controller then it create this error.


To Reproduce
Steps to reproduce the behavior:
- just define any route in route file.
- do not create same method in controller
- See error
Expected behavior
Output should show all the available/valid endpoints.

Versions (please complete the following information):

Describe the bug
When I have define Route::resource in route file but not create all the methos in controller then it create this error.
To Reproduce Steps to reproduce the behavior:
- just define any route in route file.
- do not create same method in controller
- See error
Expected behavior
Output should show all the available/valid endpoints.
Versions (please complete the following information):
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 21 (11 by maintainers)
There you go. Thanks for notifying @ERaufi
All good then? Let me know if I can close this issue.
I can confirm that this worked for me. I had forgetten just “show” method to call inside except method but I got this error. After adding ->except([“update”,“edit”]) it worked.