forked from loafle/openapi-generator-original
* - support for PHP 7.1, Zend Expressive 3.2 and PathHander 0.4 for php-ze-ph generator * - fixed mess with petstore samples (added new files, removed obsolete files) * php-ze-ph: - overwriting "*/*" media type for producers with "n/a" (PathHandler does not support that cause it makes no sense to return response with "Content-Type: */*") - "array" return type declaration for handler methods with ambiguous "container" return type - better way to generate attribute annotation stub for request body data with ambiguous "container" type - fixed missing dependency in composer.json - minor optimization for container.php - samples for OAS3 petstore spec * php-ze-ph: - note about ext-yaml in stub README - updated .gitignore * php-ze-ph: - logging '*/*' replacement as warning
12 lines
305 B
PHP
12 lines
305 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
chdir(dirname(__DIR__));
|
|
|
|
/** @var \Zend\ServiceManager\ServiceManager $container */
|
|
$container = require_once __DIR__.'/../application/container.php';
|
|
|
|
/** @var \Zend\Expressive\Application $app */
|
|
$app = $container->get(\Zend\Expressive\Application::class);
|
|
$app->run();
|