diff --git a/friendsofsymfony/rest-bundle/2.2/etc/packages/fos_rest.yaml b/friendsofsymfony/rest-bundle/2.2/etc/packages/fos_rest.yaml new file mode 100644 index 00000000..0440800d --- /dev/null +++ b/friendsofsymfony/rest-bundle/2.2/etc/packages/fos_rest.yaml @@ -0,0 +1,15 @@ +# 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 ] } diff --git a/friendsofsymfony/rest-bundle/2.2/manifest.json b/friendsofsymfony/rest-bundle/2.2/manifest.json new file mode 100644 index 00000000..e0683eda --- /dev/null +++ b/friendsofsymfony/rest-bundle/2.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "FOS\\RestBundle\\FOSRestBundle": ["all"] + }, + "copy-from-recipe": { + "etc/": "%ETC_DIR%/" + } +}