You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,7 @@ class ExampleController extends Controller {
121
121
122
122
#### Form request validation rules
123
123
124
-
To display a list of valid parameters, your API methods accepts, this package uses Laravels[Form Requests Validation](https://laravel.com/docs/5.2/validation#form-request-validation).
124
+
To display a list of valid parameters, your API methods accepts, this package uses Laravel's[Form Requests Validation](https://laravel.com/docs/5.2/validation#form-request-validation).
This package only supports custom rules defined as classes. You'll also need to define a `__toString()` method in the class, which should return the description that would be displayed in the generated doc.
143
+
141
144
#### Controller method doc block
142
145
It is possible to override the results for the response. This will also show the responses for other request methods then GET.
0 commit comments