[php-symfony] Fixed a bug with access of non-existing property in generated code (#578)

* [php-symfony] Fixed a bug where Controller accessed non-existent property

* [php-symfony] Regenerated petstore sample
This commit is contained in:
Dimtiriy Remerov
2018-07-19 09:32:15 +02:00
committed by William Cheng
parent 80cf1324c5
commit 76160b53c7
2 changed files with 4 additions and 2 deletions

View File

@@ -29,6 +29,7 @@
namespace OpenAPI\Server\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller as BaseController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\HttpException;
use OpenAPI\Server\Service\SerializerInterface;
@@ -42,7 +43,7 @@ use OpenAPI\Server\Service\ValidatorInterface;
* @author OpenAPI Generator team
* @link https://github.com/openapitools/openapi-generator
*/
class Controller
class Controller extends BaseController
{
protected $validator;
protected $serializer;