mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 11:09:26 +03:00
commit
2c3e3dd4cd
@ -55,7 +55,7 @@ Open a command console, enter your project directory and execute the following c
|
|||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
# app/config/routing.yml
|
# config/routes.yaml
|
||||||
app.swagger_ui:
|
app.swagger_ui:
|
||||||
path: /api/doc
|
path: /api/doc
|
||||||
methods: GET
|
methods: GET
|
||||||
@ -65,7 +65,7 @@ Open a command console, enter your project directory and execute the following c
|
|||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
# app/config/routing.yml
|
# config/routes.yaml
|
||||||
app.swagger:
|
app.swagger:
|
||||||
path: /api/doc.json
|
path: /api/doc.json
|
||||||
methods: GET
|
methods: GET
|
||||||
@ -77,7 +77,7 @@ Open a command console, enter your project directory and execute the following c
|
|||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
# app/config/config.yml
|
# config/packages/nelmio_api_doc.yaml
|
||||||
nelmio_api_doc:
|
nelmio_api_doc:
|
||||||
areas:
|
areas:
|
||||||
path_patterns: # an array of regexps
|
path_patterns: # an array of regexps
|
||||||
|
Loading…
x
Reference in New Issue
Block a user