API: configuration
This commit is contained in:
parent
9caaa58296
commit
ab634b971e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue