Skip to content

Commit 2b45507

Browse files
committed
Save config for query params
1 parent 766c38b commit 2b45507

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

config/scribe.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@
311311
// Strategies\QueryParameters\GetFromInlineValidator::class,
312312
// Strategies\QueryParameters\GetFromQueryParamTag::class,
313313
// AddPaginationParameters::class,
314+
AjCastro\ScribeTdd\Extracting\Strategies\QueryParameters\GetFromQueryParamTagFromScribeTdd::class,
315+
AjCastro\ScribeTdd\Extracting\Strategies\QueryParameters\AddPaginationParametersFromScribeTdd::class,
314316
],
315317
'headers' => [
316318
// Strategies\Headers\GetFromRouteRules::class,

tests/Feature/Http/Controllers/UserControllerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class UserControllerTest extends TestCase
1818
*
1919
* The sample response is gotten by Scribe making a test API call (aka "response call").
2020
*
21+
* @queryParam sort string Field to sort by. Defaults to 'id'.
2122
* @usesPagination
2223
*/
2324
public function test_users_index()

0 commit comments

Comments
 (0)