Files
symfony-flex-recipes-contrib/archived/friendsofsymfony.rest-bundle/80581f7d77be9698d5503c5a613d88772dca5aed.json
T
github-action[bot]andgithub-action[bot] f49d36fa18 Update Flex archives
2021-12-18 17:21:01 +00:00

41 lines
1.6 KiB
JSON

{
"manifests": {
"friendsofsymfony/rest-bundle": {
"manifest": {
"bundles": {
"FOS\\RestBundle\\FOSRestBundle": [
"all"
]
},
"copy-from-recipe": {
"etc/": "%ETC_DIR%/"
}
},
"files": {
"etc/packages/fos_rest.yaml": {
"contents": [
"# Read the documentation: https://symfony.com/doc/master/bundles/FOSRestBundle/index.html",
"fos_rest: ~",
"# param_fetcher_listener: true",
"# allowed_methods_listener: true",
"# routing_loader: true",
"# 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 ] }",
""
],
"executable": false
}
},
"ref": "80581f7d77be9698d5503c5a613d88772dca5aed"
}
}
}