mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
39 lines
1.7 KiB
JSON
39 lines
1.7 KiB
JSON
{
|
|
"locks": {
|
|
"friendsofsymfony/rest-bundle": {
|
|
"version": "2.2",
|
|
"recipe": {
|
|
"repo": "2.2",
|
|
"branch": "master",
|
|
"version": "2.2",
|
|
"ref": "fa845143b7e0a4c70aedd1a88c549e6d977e9ae5"
|
|
}
|
|
}
|
|
},
|
|
"manifests": {
|
|
"friendsofsymfony/rest-bundle": {
|
|
"repository": "github.com/symfony/recipes-contrib",
|
|
"package": "friendsofsymfony/rest-bundle",
|
|
"version": "2.2",
|
|
"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\n#fos_rest:\n# param_fetcher_listener: true\n# allowed_methods_listener: true\n# routing_loader: true\n# view:\n# view_response_listener: true\n# exception:\n# codes:\n# App\\Exception\\MyException: 403\n# messages:\n# App\\Exception\\MyException: Forbidden area.\n# format_listener:\n# rules:\n# - { path: ^/api, prefer_extension: true, fallback_format: json, priorities: [ json, html ] }\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
}
|
|
},
|
|
"origin": "friendsofsymfony/rest-bundle:2.2@github.com/symfony/recipes-contrib:master",
|
|
"is_contrib": true
|
|
}
|
|
}
|
|
} |