22 lines
567 B
PHP
22 lines
567 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 parent::getDefaultSwaggerFiles();
|
|
/* return array_merge([
|
|
__DIR__.'/../../Models/Carrier.php',
|
|
], parent::getDefaultSwaggerFiles());*/
|
|
}
|
|
}
|