bebeboutik-api/app/Web/Controllers/GeneratorController.php

21 lines
514 B
PHP
Raw Normal View History

2017-07-21 16:40:11 +02:00
<?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());
}
}