forked from loafle/openapi-generator-original
* support symfony6 * fix issues with StrictJsonDeserialization * regenerate samples * add suggestions * update samples * support php 7.4 and symfony 5 * allow versions based on semantic versioning * regenerate sample * change method of determining result types * update samples * describe usage of bundle in symfony app * better documentation * fix duplicate auth methods * do not set namespace for default types * fix UploadedFile type * next try fixing auth * regenerate samples * fix: auth method shall not be duplicated * Revert "fix duplicate auth methods" This reverts commit 0dc418737b1379a30b7f22e7937819ba965c9ddb. * chore: regenerate samples * fix tests * regenerate sample * more fixes for tests * update tests * add kernel shutdown Co-authored-by: Benjamin Haeublein <benjaminh@testing-vm.lan.benjaminh.de> Co-authored-by: Renaud de Chivré <renaud@tahitiwebdesign.com>
25 lines
519 B
PHP
25 lines
519 B
PHP
<?php
|
|
|
|
namespace OpenAPI\Server\Tests;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
|
|
use Symfony\Component\HttpKernel\Kernel;
|
|
use Symfony\Component\Config\Loader\LoaderInterface;
|
|
|
|
class AppKernel extends Kernel
|
|
{
|
|
public function registerBundles(): iterable
|
|
{
|
|
$bundles = array(
|
|
new FrameworkBundle()
|
|
);
|
|
|
|
return $bundles;
|
|
}
|
|
|
|
public function registerContainerConfiguration(LoaderInterface $loader)
|
|
{
|
|
$loader->load(__DIR__.'/test_config.yml');
|
|
}
|
|
}
|