From 1e92a89c66d85b581b977f3228520ed9e8ec7c08 Mon Sep 17 00:00:00 2001 From: Guilhem Niot Date: Thu, 4 Jan 2018 16:39:32 +0100 Subject: [PATCH] Add a comment --- .../api-doc-bundle/3.0/config/routes/nelmio_api_doc.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 }