mirror of
https://github.com/symfony/recipes.git
synced 2026-09-17 18:16:34 +03:00
Update Flex endpoint
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith
|
|||||||
| Package | Latest Recipe | Aliases |
|
| Package | Latest Recipe | Aliases |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| [api-platform/admin-pack](https://packagist.org/packages/api-platform/admin-pack) | [1.0](api-platform/admin-pack/1.0) | `api-admin`, `api-platform-admin`, `apiadmin`, `apiplatformadmin`, `react-admin`, `reactadmin` |
|
| [api-platform/admin-pack](https://packagist.org/packages/api-platform/admin-pack) | [1.0](api-platform/admin-pack/1.0) | `api-admin`, `api-platform-admin`, `apiadmin`, `apiplatformadmin`, `react-admin`, `reactadmin` |
|
||||||
| [api-platform/core](https://packagist.org/packages/api-platform/core) | [3.1](api-platform/core/3.1) | |
|
| [api-platform/core](https://packagist.org/packages/api-platform/core) | [3.2](api-platform/core/3.2) | |
|
||||||
| [blackfireio/blackfire-symfony-meta](https://packagist.org/packages/blackfireio/blackfire-symfony-meta) | [1.0](blackfireio/blackfire-symfony-meta/1.0) | `blackfire` |
|
| [blackfireio/blackfire-symfony-meta](https://packagist.org/packages/blackfireio/blackfire-symfony-meta) | [1.0](blackfireio/blackfire-symfony-meta/1.0) | `blackfire` |
|
||||||
| [doctrine/annotations](https://packagist.org/packages/doctrine/annotations) | [1.10](doctrine/annotations/1.10) | |
|
| [doctrine/annotations](https://packagist.org/packages/doctrine/annotations) | [1.10](doctrine/annotations/1.10) | |
|
||||||
| [doctrine/doctrine-bundle](https://packagist.org/packages/doctrine/doctrine-bundle) | [2.10](doctrine/doctrine-bundle/2.10) | |
|
| [doctrine/doctrine-bundle](https://packagist.org/packages/doctrine/doctrine-bundle) | [2.10](doctrine/doctrine-bundle/2.10) | |
|
||||||
|
|||||||
@@ -0,0 +1,72 @@
|
|||||||
|
{
|
||||||
|
"manifests": {
|
||||||
|
"api-platform/core": {
|
||||||
|
"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']",
|
||||||
|
" doc_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",
|
||||||
|
" event_listeners_backward_compatibility_layer: false",
|
||||||
|
" keep_legacy_inflector: false",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"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": "217afa7df10a8b525859e1cb6ae376edc9d88eee"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,72 @@
|
|||||||
|
{
|
||||||
|
"manifests": {
|
||||||
|
"api-platform/core": {
|
||||||
|
"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']",
|
||||||
|
" doc_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",
|
||||||
|
" event_listeners_backward_compatibility_layer: false",
|
||||||
|
" keep_legacy_inflector: false",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"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": "217afa7df10a8b525859e1cb6ae376edc9d88eee"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+2
-1
@@ -462,7 +462,8 @@
|
|||||||
"2.1",
|
"2.1",
|
||||||
"2.5",
|
"2.5",
|
||||||
"3.0",
|
"3.0",
|
||||||
"3.1"
|
"3.1",
|
||||||
|
"3.2"
|
||||||
],
|
],
|
||||||
"blackfireio/blackfire-symfony-meta": [
|
"blackfireio/blackfire-symfony-meta": [
|
||||||
"1.0"
|
"1.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user