mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-14 01:15:35 +01:00
Merge pull request #7464 from voltagex-forks/openapi-json
Enable Swagger JSON output in routing.yml
This commit is contained in:
commit
a5a4a89829
@ -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 New Issue
Block a user