updated composer dependencies (#1796)
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
# TODO upgrade to 2.8
|
||||
# https://github.com/FriendsOfSymfony/FOSRestBundle/releases/tag/2.8.0
|
||||
fos_rest:
|
||||
# disable_csrf_role: IS_AUTHENTICATED_ANONYMOUSLY
|
||||
# access_denied_listener:
|
||||
# enabled: false
|
||||
# service: null
|
||||
# formats:
|
||||
# name: ~
|
||||
# unauthorized_challenge: null
|
||||
param_fetcher_listener:
|
||||
enabled: true
|
||||
@@ -14,12 +11,11 @@ fos_rest:
|
||||
# allowed_methods_listener:
|
||||
# enabled: false
|
||||
# service: null
|
||||
# TODO activate with 2.8
|
||||
# routing_loader: false
|
||||
routing_loader:
|
||||
# TODO activate once 2.8 is released
|
||||
#parse_controller_name: false
|
||||
default_format: json
|
||||
include_format: true
|
||||
# prefix_methods: true
|
||||
body_converter:
|
||||
enabled: true
|
||||
# validate: false
|
||||
@@ -60,8 +56,12 @@ fos_rest:
|
||||
# mime_type: application/javascript+jsonp
|
||||
exception:
|
||||
enabled: true
|
||||
# TODO active with 2.8
|
||||
# serialize_exceptions: false
|
||||
# TODO deprecated with 2.8
|
||||
# https://github.com/FriendsOfSymfony/FOSRestBundle/issues/2200#issuecomment-629150462
|
||||
# https://github.com/FriendsOfSymfony/FOSRestBundle/issues/2224
|
||||
exception_controller: 'fos_rest.exception.controller:showAction'
|
||||
# service: null
|
||||
codes:
|
||||
# 'Symfony\Component\Routing\Exception\ResourceNotFoundException': 404
|
||||
# 'Doctrine\ORM\OptimisticLockException': HTTP_CONFLICT
|
||||
|
||||
Reference in New Issue
Block a user