NelmioApiDocBundle/Tests/Functional/Controller/ArrayItemsErrorController.php

36 lines
778 B
PHP
Raw Normal View History

<?php
/*
* This file is part of the NelmioApiDocBundle package.
*
* (c) Nelmio
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Nelmio\ApiDocBundle\Tests\Functional\Controller;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Tests\Functional\Entity\ArrayItemsError\Foo;
2020-12-10 22:28:55 +01:00
use OpenApi\Annotations as OA;
use Symfony\Component\Routing\Annotation\Route;
/**
* @Route(host="api.example.com")
*/
class ArrayItemsErrorController
{
/**
* @Route("/api/error", methods={"GET"})
2020-12-10 22:28:55 +01:00
* @OA\Response(
* response=200,
* description="Success",
* @Model(type=Foo::class)
* )
*/
public function errorAction()
{
}
}