mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Fix typo "expect" to "except" in documentation. (#2008)
This commit is contained in:
parent
dcc1cd8964
commit
205828d18d
@ -84,7 +84,7 @@ By default, only routes under ``/api`` are documented. Update the regexp at ``ne
|
|||||||
# config/packages/nelmio_api_doc.yaml
|
# config/packages/nelmio_api_doc.yaml
|
||||||
nelmio_api_doc:
|
nelmio_api_doc:
|
||||||
areas:
|
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$)
|
- ^/api(?!/doc$)
|
||||||
host_patterns: # document only routes with a host of the form api.*
|
host_patterns: # document only routes with a host of the form api.*
|
||||||
- ^api\.
|
- ^api\.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user