diff --git a/Resources/config/fos_rest.xml b/Resources/config/fos_rest.xml new file mode 100644 index 0000000..b206fd1 --- /dev/null +++ b/Resources/config/fos_rest.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + diff --git a/Resources/config/nelmio_apidoc.xml b/Resources/config/nelmio_apidoc.xml index b750164..ba5f58e 100644 --- a/Resources/config/nelmio_apidoc.xml +++ b/Resources/config/nelmio_apidoc.xml @@ -7,7 +7,7 @@ - + diff --git a/RouteDescriber/FosRestDescriber.php b/RouteDescriber/FosRestDescriber.php index 8108933..6dbace7 100644 --- a/RouteDescriber/FosRestDescriber.php +++ b/RouteDescriber/FosRestDescriber.php @@ -13,8 +13,8 @@ namespace EXSyst\Bundle\ApiDocBundle\RouteDescriber; use Doctrine\Common\Annotations\Reader; use EXSyst\Component\Swagger\Swagger; -use FOS\RestBundle\Controller\Annotations\RequestParam; use FOS\RestBundle\Controller\Annotations\QueryParam; +use FOS\RestBundle\Controller\Annotations\RequestParam; use Symfony\Component\Routing\Route; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\Constraints\Regex;