Skip to content

Commit

Permalink
[api-platform/core] prevent a deprecation warning and sync with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Aug 4, 2023
1 parent 5436f78 commit d5b2316
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 0 deletions.
Empty file.
4 changes: 4 additions & 0 deletions api-platform/core/3.1/config/routes/api_platform.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
api_platform:
resource: .
type: api_platform
prefix: /api
9 changes: 9 additions & 0 deletions api-platform/core/3.1/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"bundles": {
"ApiPlatform\\Symfony\\Bundle\\ApiPlatformBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
}
}
8 changes: 8 additions & 0 deletions api-platform/core/3.1/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
* 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

* 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</>
Empty file.

0 comments on commit d5b2316

Please sign in to comment.