TestRequest.php 777 B

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