NelmioApiDocBundle/Tests/Functional/Controller/UndocumentedController.php

30 lines
590 B
PHP
Raw Normal View History

<?php
/*
2016-12-29 12:09:26 +01:00
* This file is part of the NelmioApiDocBundle package.
*
2016-12-29 12:09:26 +01:00
* (c) Nelmio
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
2016-12-29 12:09:26 +01:00
namespace Nelmio\ApiDocBundle\Tests\Functional\Controller;
2019-11-19 18:24:58 +01:00
use Symfony\Component\Routing\Annotation\Route;
2018-03-13 12:40:36 -03:00
/**
* @Route(host="api.example.com")
*/
class UndocumentedController
{
/**
* This path is excluded by the config (only /api allowed).
*
* @Route("/undocumented", methods={"GET"})
*/
public function undocumentedAction()
{
}
}