Merge pull request #39 from 20uf/nelmio-api-doc-bundle

This commit is contained in:
Symfony
2017-06-25 08:58:56 -07:00
committed by GitHub
3 changed files with 33 additions and 0 deletions
@@ -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
+8
View File
@@ -0,0 +1,8 @@
{
"bundles": {
"Nelmio\\ApiDocBundle\\NelmioApiDocBundle": ["all"]
},
"copy-from-recipe": {
"etc/": "%ETC_DIR%/"
}
}