Update index.rst

To reflect Symfony 4's directory and file hierarchy
This commit is contained in:
Olivier Bacs 2019-01-21 23:50:02 +00:00 committed by GitHub
parent 0bca7f377d
commit 43c7c0db58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ Open a command console, enter your project directory and execute the following c
.. code-block:: yaml
# app/config/routing.yml
# config/routes.yaml
app.swagger_ui:
path: /api/doc
methods: GET
@ -65,7 +65,7 @@ Open a command console, enter your project directory and execute the following c
.. code-block:: yaml
# app/config/routing.yml
# config/routes.yaml
app.swagger:
path: /api/doc.json
methods: GET
@ -77,7 +77,7 @@ Open a command console, enter your project directory and execute the following c
.. code-block:: yaml
# app/config/config.yml
# config/packages/nelmio_api_doc.yaml
nelmio_api_doc:
areas:
path_patterns: # an array of regexps