You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
3.2 KiB

  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Base URL
  6. |--------------------------------------------------------------------------
  7. |
  8. | The base URL for all of your endpoints.
  9. |
  10. */
  11. 'base_url' => env('APP_URL', 'http://localhost'),
  12. /*
  13. |--------------------------------------------------------------------------
  14. | Collection Filename
  15. |--------------------------------------------------------------------------
  16. |
  17. | The name for the collection file to be saved.
  18. |
  19. */
  20. 'filename' => '{timestamp}_{app}_collection.json',
  21. /*
  22. |--------------------------------------------------------------------------
  23. | Structured
  24. |--------------------------------------------------------------------------
  25. |
  26. | If you want folders to be generated based on namespace.
  27. |
  28. */
  29. 'structured' => true,
  30. /*
  31. |--------------------------------------------------------------------------
  32. | Auth Middleware
  33. |--------------------------------------------------------------------------
  34. |
  35. | The middleware which wraps your authenticated API routes.
  36. |
  37. | E.g. auth:api, auth:sanctum
  38. |
  39. */
  40. 'auth_middleware' => 'auth:api',
  41. /*
  42. |--------------------------------------------------------------------------
  43. | Headers
  44. |--------------------------------------------------------------------------
  45. |
  46. | The headers applied to all routes within the collection.
  47. |
  48. */
  49. 'headers' => [
  50. [
  51. 'key' => 'Accept',
  52. 'value' => 'application/json',
  53. ],
  54. [
  55. 'key' => 'Content-Type',
  56. 'value' => 'application/json',
  57. ],
  58. [
  59. 'key' => 'Authorization',
  60. 'value' => 'Bearer SBzUKamo6CrzQD0hzys2zDxeXiHmPnQcCmlmtCgHAo0JRglIApqJuFF0zxIY',
  61. ],
  62. ],
  63. /*
  64. |--------------------------------------------------------------------------
  65. | Enable Form Data
  66. |--------------------------------------------------------------------------
  67. |
  68. | Determines whether or not form data should be handled.
  69. |
  70. */
  71. 'enable_formdata' => false,
  72. /*
  73. |--------------------------------------------------------------------------
  74. | Form Data
  75. |--------------------------------------------------------------------------
  76. |
  77. | The key/values to requests for form data dummy information.
  78. |
  79. */
  80. 'formdata' => [
  81. // 'email' => 'john@example.com',
  82. // 'password' => 'changeme',
  83. ],
  84. /*
  85. |--------------------------------------------------------------------------
  86. | Include Middleware
  87. |--------------------------------------------------------------------------
  88. |
  89. | The routes of the included middleware are included in the export.
  90. |
  91. */
  92. 'include_middleware' => ['api'],
  93. /*
  94. |--------------------------------------------------------------------------
  95. | Disk Driver
  96. |--------------------------------------------------------------------------
  97. |
  98. | Specify the configured disk for storing the postman collection file.
  99. |
  100. */
  101. 'disk' => 'local',
  102. ];