Fix typo "expect" to "except" in documentation. (#2008)

This commit is contained in:
Cyril VERLOOP 2022-07-15 23:16:37 +02:00 committed by GitHub
parent dcc1cd8964
commit 205828d18d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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\.