Enabling the routing load is not supported anymore in rest-bundle v3 (#1493)

This commit is contained in:
Dieter Beck
2023-03-13 20:25:56 +01:00
committed by GitHub
parent 05da691b43
commit 3080481d47
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,15 @@
# Read the documentation: https://fosrestbundle.readthedocs.io/en/3.x/
fos_rest:
# param_fetcher_listener: true
# allowed_methods_listener: true
routing_loader: false
# view:
# view_response_listener: true
# exception:
# codes:
# App\Exception\MyException: 403
# messages:
# App\Exception\MyException: Forbidden area.
# format_listener:
# rules:
# - { path: ^/api, prefer_extension: true, fallback_format: json, priorities: [ json, html ] }
@@ -0,0 +1,8 @@
{
"bundles": {
"FOS\\RestBundle\\FOSRestBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}