Files
symfony-flex-recipes-contrib/friendsofsymfony.rest-bundle.3.0.json
github-action[bot]andgithub-action[bot] 37137c5e2c Update Flex endpoint
2023-03-13 19:26:11 +00:00

41 lines
1.6 KiB
JSON

{
"manifests": {
"friendsofsymfony/rest-bundle": {
"manifest": {
"bundles": {
"FOS\\RestBundle\\FOSRestBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
},
"files": {
"config/packages/fos_rest.yaml": {
"contents": [
"# 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 ] }",
""
],
"executable": false
}
},
"ref": "3762cc4e4f2d6faabeca5a151b41c8c791bd96e5"
}
}
}