29 lines
No EOL
810 B
PHP
29 lines
No EOL
810 B
PHP
<?php
|
|
|
|
return [
|
|
'default' => 'default',
|
|
'documentations' => [
|
|
'default' => [
|
|
'api' => [
|
|
'title' => 'Blog API Documentation',
|
|
],
|
|
'routes' => [
|
|
'api' => 'api/documentation',
|
|
],
|
|
'paths' => [
|
|
'use_absolute_path' => env('L5_SWAGGER_USE_ABSOLUTE_PATH', true),
|
|
'docs_json' => 'api-docs.json',
|
|
'docs_yaml' => 'api-docs.yaml',
|
|
'format_to_use_for_docs' => env('L5_FORMAT_TO_USE_FOR_DOCS', 'json'),
|
|
],
|
|
],
|
|
],
|
|
'security' => [
|
|
'api_key' => [
|
|
'type' => 'apiKey',
|
|
'description' => 'Authorization token',
|
|
'name' => 'Authorization',
|
|
'in' => 'header',
|
|
],
|
|
],
|
|
];
|