Files
symfony-flex-recipes-contrib/archived/nelmio.api-doc-bundle/d76d09603a98c2e2b78ef038ef8a961f51b86da0.json
T
github-action[bot]andgithub-action[bot] f49d36fa18 Update Flex archives
2021-12-18 17:21:01 +00:00

52 lines
2.0 KiB
JSON

{
"manifests": {
"nelmio/api-doc-bundle": {
"manifest": {
"bundles": {
"Nelmio\\ApiDocBundle\\NelmioApiDocBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
},
"files": {
"config/packages/nelmio_api_doc.yaml": {
"contents": [
"nelmio_api_doc:",
" documentation:",
" info:",
" title: My App",
" description: This is an awesome app!",
" version: 1.0.0",
" routes: # to filter documented routes",
" path_patterns:",
" - ^/api(?!/doc$) # Accepts routes under /api except /api/doc",
""
],
"executable": false
},
"config/routes/nelmio_api_doc.yaml": {
"contents": [
"# Requires the Asset component and the Twig bundle",
"app.swagger_ui:",
" path: /api/doc",
" methods: GET",
" defaults: { _controller: nelmio_api_doc.controller.swagger_ui }",
"",
"# To expose your documentation as JSON",
"#app.swagger:",
"# path: /api/doc.json",
"# methods: GET",
"# defaults: { _controller: nelmio_api_doc.controller.swagger }",
""
],
"executable": false
}
},
"ref": "d76d09603a98c2e2b78ef038ef8a961f51b86da0"
}
}
}