From: Jérôme Benoit Date: Wed, 27 Jun 2018 21:24:45 +0000 (+0200) Subject: Simplify the specific configuration to the bare minimum. X-Git-Url: https://git.piment-noir.org/?p=Project_proches_de_moi-server.git;a=commitdiff_plain;h=286c829c5a000bbc2561a47944e21cf09e3b9664 Simplify the specific configuration to the bare minimum. Signed-off-by: Jérôme Benoit --- diff --git a/config/config.yaml b/config/config.yaml index d0d7baf..6aab19c 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -5,27 +5,18 @@ framework: enabled: true fos_rest: - body_converter: - enabled: true + routing_loader: + include_format: false view: - formats: { json: true, xml: false, rss: false } view_response_listener: true mime_types: json: ['application/json', 'application/json;version=1.0', 'application/json;version=2.0'] - serializer: - serialize_null: true format_listener: rules: - { path: '^/api', priorities: ['json'], fallback_format: 'json' } - param_fetcher_listener: force - routing_loader: - include_format: false versioning: enabled: true resolvers: media_type: # Accept header enabled: true regex: '/(v|version)=(?P[0-9\.]+)/' - -sensio_framework_extra: - request: { converters: true }