Skip to content

Commit 44f3762

Browse files
authored
add recipe for api doc bundle https://github.com/Ehyiah/ApiDocBundle (#1833)
* add recipe for api doc bundle https://github.com/Ehyiah/ApiDocBundle * update env vars
1 parent de766f1 commit 44f3762

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ehyiah_api_doc:
2+
site_urls: '%env(SITE_URLS)%'
3+
source_path: '%env(SOURCE_PATH)%'
4+
dump_path: '%env(DUMP_PATH)%'
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ehyiah_api_doc_index:
2+
path: /ehyiah/api/doc
3+
controller: Ehyiah\ApiDocBundle\Controller\ApiDocController::index
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"bundles": {
3+
"Ehyiah\\ApiDocBundle\\EhyiahApiDocBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
},
8+
"copy-from-package": {
9+
"src/Swagger/": "%SRC_DIR%/Swagger/"
10+
},
11+
"env": {
12+
"#1": "List of URLs separated by a coma",
13+
"SITE_URLS": "",
14+
"SOURCE_PATH": "/src/Swagger",
15+
"#2": "Will create a dump folder inside SOURCE_PATH Directory when you use the dump command",
16+
"DUMP_PATH": "dump"
17+
}
18+
}

0 commit comments

Comments
 (0)