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

<?php
return [
/*
|--------------------------------------------------------------------------
| Base URL
|--------------------------------------------------------------------------
|
| The base URL for all of your endpoints.
|
*/
'base_url' => env('APP_URL', 'http://localhost'),
/*
|--------------------------------------------------------------------------
| Collection Filename
|--------------------------------------------------------------------------
|
| The name for the collection file to be saved.
|
*/
'filename' => '{timestamp}_{app}_collection.json',
/*
|--------------------------------------------------------------------------
| Structured
|--------------------------------------------------------------------------
|
| If you want folders to be generated based on namespace.
|
*/
'structured' => true,
/*
|--------------------------------------------------------------------------
| Auth Middleware
|--------------------------------------------------------------------------
|
| The middleware which wraps your authenticated API routes.
|
| E.g. auth:api, auth:sanctum
|
*/
'auth_middleware' => 'auth:api',
/*
|--------------------------------------------------------------------------
| Headers
|--------------------------------------------------------------------------
|
| The headers applied to all routes within the collection.
|
*/
'headers' => [
[
'key' => 'Accept',
'value' => 'application/json',
],
[
'key' => 'Content-Type',
'value' => 'application/json',
],
[
'key' => 'Authorization',
'value' => 'Bearer SBzUKamo6CrzQD0hzys2zDxeXiHmPnQcCmlmtCgHAo0JRglIApqJuFF0zxIY',
],
],
/*
|--------------------------------------------------------------------------
| Enable Form Data
|--------------------------------------------------------------------------
|
| Determines whether or not form data should be handled.
|
*/
'enable_formdata' => false,
/*
|--------------------------------------------------------------------------
| Form Data
|--------------------------------------------------------------------------
|
| The key/values to requests for form data dummy information.
|
*/
'formdata' => [
// 'email' => 'john@example.com',
// 'password' => 'changeme',
],
/*
|--------------------------------------------------------------------------
| Include Middleware
|--------------------------------------------------------------------------
|
| The routes of the included middleware are included in the export.
|
*/
'include_middleware' => ['api'],
/*
|--------------------------------------------------------------------------
| Disk Driver
|--------------------------------------------------------------------------
|
| Specify the configured disk for storing the postman collection file.
|
*/
'disk' => 'local',
];