2018-01-05 13:08:02 +01:00
|
|
|
<?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 Swagger\Annotations as SWG;
|
2019-11-19 18:24:58 +01:00
|
|
|
use Symfony\Component\Routing\Annotation\Route;
|
2018-01-05 13:08:02 +01:00
|
|
|
|
|
|
|
/**
|
2018-03-13 12:40:36 -03:00
|
|
|
* @Route("/test", host="api-test.example.com")
|
2018-01-05 13:08:02 +01:00
|
|
|
*/
|
|
|
|
class TestController
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @SWG\Response(
|
|
|
|
* response="200",
|
|
|
|
* description="Test"
|
|
|
|
* )
|
|
|
|
* @Route("/test/", methods={"GET"})
|
|
|
|
*/
|
|
|
|
public function testAction()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|