diff --git a/app/config/routing.yml b/app/config/routing.yml index e51197cb7..80f7b382f 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -6,6 +6,11 @@ doc-api: resource: "@NelmioApiDocBundle/config/routing/swaggerui.xml" prefix: /api/doc +doc-api-json: + path: /api/doc.json + methods: GET + defaults: { _controller: nelmio_api_doc.controller.swagger } + homepage: path: "/{page}" defaults: