API: configuration

This commit is contained in:
Simon Vieille 2016-11-23 20:17:01 +01:00
parent 9caaa58296
commit ab634b971e
1 changed files with 1 additions and 4 deletions

View File

@ -7,11 +7,8 @@ fos_rest:
param_fetcher_listener: true
body_listener: true
format_listener:
rules:
- priorities: [json, xml]
- fallback_format: json
view:
view_response_listener: 'force'
view_response_listener: true
formats:
xml: true
json : true