Files
symfony-flex-recipes/api-platform.core.2.5.json
T
github-action[bot]andgithub-action[bot] 61747b76de Update Flex endpoint
2023-09-12 15:55:33 +00:00

62 lines
2.4 KiB
JSON

{
"manifests": {
"api-platform/core": {
"manifest": {
"bundles": {
"ApiPlatform\\Core\\Bridge\\Symfony\\Bundle\\ApiPlatformBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
},
"post-install-output": [
" * Your API is almost ready:",
" 1. Create your first API resource in <info>src/ApiResource</info>;",
" 2. Go to <info>/api</info> to browse your API",
"",
" * Using MakerBundle? Try <info>php bin/console make:entity --api-resource</info> ",
"",
" * To enable the GraphQL support, run <comment>composer require webonyx/graphql-php</>,",
" then browse <info>/api/graphql</info>.",
"",
" * <fg=blue>Read</> the documentation at <comment>https://api-platform.com/docs/</>"
]
},
"files": {
"config/packages/api_platform.yaml": {
"contents": [
"api_platform:",
" mapping:",
" paths: ['%kernel.project_dir%/src/Entity']",
" patch_formats:",
" json: ['application/merge-patch+json']",
" swagger:",
" versions: [3]",
""
],
"executable": false
},
"config/routes/api_platform.yaml": {
"contents": [
"api_platform:",
" resource: .",
" type: api_platform",
" prefix: /api",
""
],
"executable": false
},
"src/Entity/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "b86557ce5677fa855b1b2608f4a4bc4a8fed8be7"
}
}
}