mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-16 01:26:27 +03:00
Merge pull request #39 from 20uf/nelmio-api-doc-bundle
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#nelmio_api_doc:
|
||||
# exclude_sections: []
|
||||
# default_sections_opened: true
|
||||
# motd:
|
||||
# template: 'NelmioApiDocBundle::Components/motd.html.twig'
|
||||
# request_listener:
|
||||
# enabled: true
|
||||
# parameter: _doc
|
||||
# swagger:
|
||||
# api_base_path: /api
|
||||
# swagger_version: '1.2'
|
||||
# api_version: '0.1'
|
||||
# info:
|
||||
# title: Symfony2
|
||||
# description: 'My awesome Symfony2 app!'
|
||||
# TermsOfServiceUrl: null
|
||||
# contact: null
|
||||
# license: null
|
||||
# licenseUrl: null
|
||||
# cache:
|
||||
# enabled: false
|
||||
# file: '%kernel.cache_dir%/api-doc.cache'
|
||||
@@ -0,0 +1,3 @@
|
||||
NelmioApiDocBundle:
|
||||
resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
|
||||
prefix: /api/doc
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Nelmio\\ApiDocBundle\\NelmioApiDocBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"etc/": "%ETC_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user