Files
symfony-flex-recipes-contrib/friendsofsymfony.rest-bundle.2.2.json
T
github-action botandgithub-action bot 030c77cfa8 Update Flex endpoint
2021-09-22 13:12:29 +00:00

40 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://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": "fa845143b7e0a4c70aedd1a88c549e6d977e9ae5"
}
}
}