mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-30 04:51:01 +00:00
Merge pull request #7464 from voltagex-forks/openapi-json
Enable Swagger JSON output in routing.yml
This commit is contained in:
commit
a5a4a89829
1 changed files with 5 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue