X-Git-Url: https://git.piment-noir.org/?p=Project_proches_de_moi-server.git;a=blobdiff_plain;f=config%2Fconfig.yaml;h=d0d7baf956579f6dbe742623c8cf704f39a1cb0c;hp=3c4eb73c1a66088663c5fd68fb75b6c20a0b4d0b;hb=282545e599d54ea03ce33bac6e9087d9bf29245a;hpb=9e71bdc54747a36c661ce304a330a2d6dc43b80c diff --git a/config/config.yaml b/config/config.yaml index 3c4eb73..d0d7baf 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -16,8 +16,10 @@ fos_rest: serialize_null: true format_listener: rules: - - { path: '^/', priorities: ['json'], fallback_format: 'json' } + - { path: '^/api', priorities: ['json'], fallback_format: 'json' } param_fetcher_listener: force + routing_loader: + include_format: false versioning: enabled: true resolvers: @@ -26,5 +28,4 @@ fos_rest: regex: '/(v|version)=(?P[0-9\.]+)/' sensio_framework_extra: - view: { annotations: false } request: { converters: true }