infinito/application/symfony/config/packages/fos_rest.yaml
2019-02-17 14:33:19 +01:00

16 lines
555 B
YAML

# 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:
# Infinito\Exception\MyException: 403
# messages:
# Infinito\Exception\MyException: Forbidden area.
# format_listener:
# rules:
# - { path: ^/api, prefer_extension: true, fallback_format: json, priorities: [ json, html ] }