API: configuration
This commit is contained in:
parent
5cbea9b000
commit
9caaa58296
2 changed files with 6 additions and 2 deletions
|
|
@ -6,9 +6,12 @@ fos_rest:
|
|||
serialize_null: true
|
||||
param_fetcher_listener: true
|
||||
body_listener: true
|
||||
format_listener: true
|
||||
format_listener:
|
||||
rules:
|
||||
- priorities: [json, xml]
|
||||
- fallback_format: json
|
||||
view:
|
||||
view_response_listener: true
|
||||
view_response_listener: 'force'
|
||||
formats:
|
||||
xml: true
|
||||
json : true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue