From 205828d18d0a2c38de8bf8c861f428190e787657 Mon Sep 17 00:00:00 2001 From: Cyril VERLOOP Date: Fri, 15 Jul 2022 23:16:37 +0200 Subject: [PATCH] Fix typo "expect" to "except" in documentation. (#2008) --- Resources/doc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index ba2838d..88690da 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -84,7 +84,7 @@ By default, only routes under ``/api`` are documented. Update the regexp at ``ne # config/packages/nelmio_api_doc.yaml nelmio_api_doc: areas: - path_patterns: # an array of regexps (document only routes under /api, expect /api/doc) + path_patterns: # an array of regexps (document only routes under /api, except /api/doc) - ^/api(?!/doc$) host_patterns: # document only routes with a host of the form api.* - ^api\.