parameters:
    jms_serializer.camel_case_naming_strategy.class: JMS\Serializer\Naming\IdenticalPropertyNamingStrategy

fos_rest:
#    param_fetcher_listener:  true
#    allowed_methods_listener:  true
#    routing_loader: true
#    view:
#        view_response_listener:  true
#    exception:
#        codes:
#            App\Exception\MyException: 403
#        messages:
#            App\Exception\MyException: Forbidden area.
#    format_listener:
#        rules:
#            - { path: ^/api, prefer_extension: true, fallback_format: json, priorities: [ json, html ] }
    routing_loader:
        include_format: false
    view:
        view_response_listener: true
    format_listener:
        rules:

            - { path: '^/rest/', priorities: ['json'], fallback_format: 'json', prefer_extension: false }
            - { path: "^/"}

    body_listener:
        enabled: false