21 lines
514 B
PHP
21 lines
514 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Web\Controllers;
|
||
|
|
||
|
use Antadis\API\Front\Web\Controllers\GeneratorController as BaseGeneratorController;
|
||
|
use Antadis\API\Swagger\Generator;
|
||
|
|
||
|
class GeneratorController extends BaseGeneratorController
|
||
|
{
|
||
|
public function index() {
|
||
|
return parent::index();
|
||
|
}
|
||
|
|
||
|
protected function getDefaultSwaggerFiles() {
|
||
|
//MERGE OVERRIDED SWAGGER CONFIGURATION
|
||
|
return array_merge([
|
||
|
__DIR__.'/../../Models/Carrier.php',
|
||
|
], parent::getDefaultSwaggerFiles());
|
||
|
}
|
||
|
}
|