diff --git a/nelmio/api-doc-bundle/3.0/config/routes/nelmio_api_doc.yaml b/nelmio/api-doc-bundle/3.0/config/routes/nelmio_api_doc.yaml index 6cad0e48..ba6d1437 100644 --- a/nelmio/api-doc-bundle/3.0/config/routes/nelmio_api_doc.yaml +++ b/nelmio/api-doc-bundle/3.0/config/routes/nelmio_api_doc.yaml @@ -4,7 +4,8 @@ app.swagger_ui: methods: GET defaults: { _controller: nelmio_api_doc.controller.swagger_ui } -# app.swagger: -# path: /api/doc.json -# methods: GET -# defaults: { _controller: nelmio_api_doc.controller.swagger } +# To expose your documentation as JSON +#app.swagger: +# path: /api/doc.json +# methods: GET +# defaults: { _controller: nelmio_api_doc.controller.swagger }