Files
symfony-flex-recipes/api-platform.symfony.3.3.json
github-action[bot]andgithub-action[bot] 86f58d57af Update Flex endpoint
2024-09-27 13:02:17 +00:00

73 lines
3.0 KiB
JSON

{
"manifests": {
"api-platform/symfony": {
"manifest": {
"bundles": {
"ApiPlatform\\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:",
" title: Hello API Platform",
" version: 1.0.0",
" formats:",
" jsonld: ['application/ld+json']",
" docs_formats:",
" jsonld: ['application/ld+json']",
" jsonopenapi: ['application/vnd.openapi+json']",
" html: ['text/html']",
" defaults:",
" stateless: true",
" cache_headers:",
" vary: ['Content-Type', 'Authorization', 'Origin']",
" extra_properties:",
" standard_put: true",
" rfc_7807_compliant_errors: true",
" keep_legacy_inflector: false",
" use_symfony_listeners: true",
""
],
"executable": false
},
"config/routes/api_platform.yaml": {
"contents": [
"api_platform:",
" resource: .",
" type: api_platform",
" prefix: /api",
""
],
"executable": false
},
"src/ApiResource/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "74b45ac570c57eb1fbe56c984091a9ff87e18bab"
}
}
}