ninebadge/src/ninebadge-1.0/config/packages/fos_rest.yaml

12 lines
356 B
YAML
Raw Normal View History

2022-02-09 09:55:14 +01:00
# Read the documentation: https://symfony.com/doc/master/bundles/FOSRestBundle/index.html
2022-02-21 09:36:27 +01:00
fos_rest:
param_fetcher_listener: true
body_listener: true
format_listener:
enabled: true
rules:
- { path: '/rest', priorities: ['json', 'xml'], fallback_format: 'html' }
- { path: '/', fallback_format: 'html' }