|
| 1 | +request_body_param_converter: |
| 2 | + path: /body-converter |
| 3 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\RequestBodyParamConverterController::putPostAction, date: 16-06-2016 } |
| 4 | + |
| 5 | +test_serializer_error_exception: |
| 6 | + path: /serializer-error/exception.{_format} |
| 7 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\SerializerErrorController::logicExceptionAction } |
| 8 | + |
| 9 | +test_serializer_unknown_exception: |
| 10 | + path: /serializer-error/unknown_exception.{_format} |
| 11 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\SerializerErrorController::unknownExceptionAction } |
| 12 | + |
| 13 | +test_serializer_error_invalid_form: |
| 14 | + path: /serializer-error/invalid-form.{_format} |
| 15 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\SerializerErrorController::invalidFormAction } |
| 16 | + |
| 17 | +# Must be defined before test_version |
| 18 | +test_version2: |
| 19 | + resource: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\Version2Controller |
| 20 | + type: rest |
| 21 | + |
| 22 | +test_version: |
| 23 | + path: /version |
| 24 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\VersionController::versionAction } |
| 25 | + requirements: |
| 26 | + version: 2.1|3.4.2|2.3 |
| 27 | + |
| 28 | +test_version_path: |
| 29 | + path: /version/{version} |
| 30 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\VersionController::versionAction } |
| 31 | + |
| 32 | +test_param_fetcher: |
| 33 | + path: /params |
| 34 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\ParamFetcherController::paramsAction } |
| 35 | + |
| 36 | +test_param_fetcher_test: |
| 37 | + path: /params/test |
| 38 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\ParamFetcherController::testAction } |
| 39 | + |
| 40 | +test_param_fetcher_file_test: |
| 41 | + path: /file/test |
| 42 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\ParamFetcherController::singleFileAction } |
| 43 | + |
| 44 | +test_param_fetcher_file_collection_test: |
| 45 | + path: /file/collection/test |
| 46 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\ParamFetcherController::fileCollectionAction } |
| 47 | + |
| 48 | +test_param_fetcher_image_collection_test: |
| 49 | + path: /image/collection/test |
| 50 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\ParamFetcherController::imageCollectionAction } |
| 51 | + |
| 52 | +test_view_response_listener: |
| 53 | + resource: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\ArticleController |
| 54 | + type: rest |
| 55 | + |
| 56 | +test_redirect_endpoint: |
| 57 | + path: /hello/{name} |
| 58 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\ArticleController::redirectAction } |
| 59 | + |
| 60 | +test_allowed_methods1: |
| 61 | + path: /allowed-methods |
| 62 | + methods: ['GET', 'LOCK'] |
| 63 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\AllowedMethodsController::indexAction } |
| 64 | + |
| 65 | +test_allowed_methods2: |
| 66 | + path: /allowed-methods |
| 67 | + methods: ['POST', 'PUT'] |
| 68 | + defaults: { _controller: FOS\RestBundle\Tests\Functional\Bundle\TestBundle\Controller\AllowedMethodsController::indexAction } |
0 commit comments