TestRequest.php 765 B

12345678910111213141516171819202122
  1. <?php namespace Mpociot\ApiDoc\Tests\Fixtures;
  2. use Dingo\Api\Http\FormRequest;
  3. /**
  4. * @bodyParam user_id int required The id of the user. Example: 9
  5. * @bodyParam room_id string The id of the room.
  6. * @bodyParam forever boolean Whether to ban the user forever. Example: false
  7. * @bodyParam another_one number Just need something here.
  8. * @bodyParam yet_another_param object required
  9. * @bodyParam even_more_param array
  10. * @bodyParam book.name string
  11. * @bodyParam book.author_id integer
  12. * @bodyParam book[pages_count] integer
  13. * @bodyParam ids.* integer
  14. * @bodyParam users.*.first_name string The first name of the user. Example: John
  15. * @bodyParam users.*.last_name string The last name of the user. Example: Doe
  16. */
  17. class TestRequest extends FormRequest
  18. {
  19. }