PHP code example of folksyfolks / l5-swagger
1. Go to this page and download the library: Download folksyfolks/l5-swagger library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
folksyfolks / l5-swagger example snippets
// l5-swagger.php
return [
'default' => 'default',
'documentations' => [
/* ... */
],
'defaults' => [
/* ... */
'scanOptions' => [
/* ... */
'processors' => [
// new \App\SwaggerProcessors\SchemaQueryParameter(),
],
/**
* Define after which Open Api's processors we want to happens the custom one.
*/
'append-processors-after' => \OpenApi\Processors\BuildPaths::class,
/* ... */
],
/* ... */
];