From 752a7b4b70886942c0e5b0f5371a0454aa881838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Garc=C3=ADa=20Borrego?= Date: Fri, 16 Mar 2018 10:17:03 +0100 Subject: [PATCH] Update nelmio_api_doc.yaml In Symfony 4 The `nelmio_api_doc.routes` config option is deprecated. Please use `nelmio_api_doc.areas` instead (just replace `routes` by `areas` in your config) --- nelmio/api-doc-bundle/3.0/config/packages/nelmio_api_doc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nelmio/api-doc-bundle/3.0/config/packages/nelmio_api_doc.yaml b/nelmio/api-doc-bundle/3.0/config/packages/nelmio_api_doc.yaml index 59a3dc96..4e684794 100644 --- a/nelmio/api-doc-bundle/3.0/config/packages/nelmio_api_doc.yaml +++ b/nelmio/api-doc-bundle/3.0/config/packages/nelmio_api_doc.yaml @@ -4,6 +4,6 @@ nelmio_api_doc: title: My App description: This is an awesome app! version: 1.0.0 - routes: # to filter documented routes + areas: # to filter documented areas path_patterns: - ^/api(?!/doc$) # Accepts routes under /api except /api/doc