update ehyiah/apidocbundle recipe to 1.0 (#1914)

This commit is contained in:
Matthieu Gostiaux
2025-12-31 08:27:04 +01:00
committed by GitHub
parent d245e1258f
commit 4d07c0c554
3 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
ehyiah_api_doc:
source_path: '%env(SOURCE_PATH)%'
dump_path: '%env(DUMP_PATH)%'
ui: swagger
scan_directories:
- 'src/Entity'

View File

@@ -0,0 +1,3 @@
ehyiah_api_doc_index:
path: /ehyiah/api/doc
controller: Ehyiah\ApiDocBundle\Controller\ApiDocController::index

View File

@@ -0,0 +1,17 @@
{
"bundles": {
"Ehyiah\\ApiDocBundle\\EhyiahApiDocBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"copy-from-package": {
"src/Swagger/": "%SRC_DIR%/Swagger/"
},
"env": {
"#1": "Directory where the source api doc should be living",
"SOURCE_PATH": "/src/Swagger",
"#2": "The bundle will create a dump folder inside SOURCE_PATH Directory when you use the dump command",
"DUMP_PATH": "dump"
}
}