mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-16 01:26:27 +03:00
Update Flex endpoint
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github.
|
||||
| [friendsofsymfony/elastica-bundle](https://packagist.org/packages/friendsofsymfony/elastica-bundle) | [5.0](friendsofsymfony/elastica-bundle/5.0) |
|
||||
| [friendsofsymfony/jsrouting-bundle](https://packagist.org/packages/friendsofsymfony/jsrouting-bundle) | [2.3](friendsofsymfony/jsrouting-bundle/2.3) |
|
||||
| [friendsofsymfony/oauth-server-bundle](https://packagist.org/packages/friendsofsymfony/oauth-server-bundle) | [1.6](friendsofsymfony/oauth-server-bundle/1.6) |
|
||||
| [friendsofsymfony/rest-bundle](https://packagist.org/packages/friendsofsymfony/rest-bundle) | [2.2](friendsofsymfony/rest-bundle/2.2) |
|
||||
| [friendsofsymfony/rest-bundle](https://packagist.org/packages/friendsofsymfony/rest-bundle) | [3.0](friendsofsymfony/rest-bundle/3.0) |
|
||||
| [fsi/files](https://packagist.org/packages/fsi/files) | [1.5](fsi/files/1.5) |
|
||||
| [geosocio/http-serializer-bundle](https://packagist.org/packages/geosocio/http-serializer-bundle) | [2.0](geosocio/http-serializer-bundle/2.0) |
|
||||
| [gesdinet/jwt-refresh-token-bundle](https://packagist.org/packages/gesdinet/jwt-refresh-token-bundle) | [1.0](gesdinet/jwt-refresh-token-bundle/1.0) |
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
+2
-1
@@ -561,7 +561,8 @@
|
||||
"1.6"
|
||||
],
|
||||
"friendsofsymfony/rest-bundle": [
|
||||
"2.2"
|
||||
"2.2",
|
||||
"3.0"
|
||||
],
|
||||
"fsi/files": [
|
||||
"1.5"
|
||||
|
||||
Reference in New Issue
Block a user