File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Rakutentech \LaravelRequestDocs \Tests \Stubs \TestControllers ;
4
4
5
- use Rakutentech \LaravelRequestDocs \Tests \Stubs \TestRequests \CommentsOnRulesRequest ;
5
+ use Rakutentech \LaravelRequestDocs \Tests \Stubs \TestRequests \CommentsOnRequestRulesMethodRequest ;
6
6
7
- class CommentsOnRulesController
7
+ class CommentsOnRequestRulesMethodController
8
8
{
9
9
/**
10
10
* Before
@@ -24,7 +24,7 @@ class CommentsOnRulesController
24
24
*
25
25
* After
26
26
*/
27
- public function index (CommentsOnRulesRequest $ request )
27
+ public function index (CommentsOnRequestRulesMethodRequest $ request )
28
28
{
29
29
return 1 ;
30
30
}
Original file line number Diff line number Diff line change 4
4
5
5
use Illuminate \Foundation \Http \FormRequest ;
6
6
7
- class CommentsOnRulesRequest extends FormRequest
7
+ class CommentsOnRequestRulesMethodRequest extends FormRequest
8
8
{
9
9
/**
10
10
* Get the validation rules that apply to the request.
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function registerRoutes()
43
43
Route::get ('health ' , [TestControllers \WelcomeController::class, 'health ' ]);
44
44
Route::get ('single ' , TestControllers \SingleActionController::class);
45
45
Route::delete ('welcome/no-rules ' , [TestControllers \WelcomeController::class, 'noRules ' ]);
46
- Route::post ('comments-on-rules-method ' , [TestControllers \CommentsOnRulesController ::class, 'index ' ]);
46
+ Route::post ('comments-on-request- rules-method ' , [TestControllers \CommentsOnRequestRulesMethodController ::class, 'index ' ]);
47
47
48
48
Route::get ('closure ' , function () {
49
49
return true ;
Original file line number Diff line number Diff line change 457
457
]
458
458
},
459
459
{
460
- "uri" : " comments-on-rules-method" ,
460
+ "uri" : " comments-on-request- rules-method" ,
461
461
"middlewares" : [],
462
- "controller" : " CommentsOnRulesController " ,
463
- "controller_full_path" : " Rakutentech\\ LaravelRequestDocs\\ Tests\\ Stubs\\ TestControllers\\ CommentsOnRulesController " ,
462
+ "controller" : " CommentsOnRequestRulesMethodController " ,
463
+ "controller_full_path" : " Rakutentech\\ LaravelRequestDocs\\ Tests\\ Stubs\\ TestControllers\\ CommentsOnRequestRulesMethodController " ,
464
464
"method" : " index" ,
465
465
"http_method" : " POST" ,
466
466
"path_parameters" : [],
You can’t perform that action at this time.
0 commit comments