nineconfig/config/packages/fos_rest.yaml

16 lines
524 B
YAML
Raw Normal View History

2025-04-09 20:38:48 +02:00
# 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 ] }