mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 01:10:42 +08:00
Symfony 6.4 - Update ApiPlatform recipe
This commit is contained in:
parent
d098bf1938
commit
164334d431
4 changed files with 22 additions and 4 deletions
|
@ -41,4 +41,5 @@ return [
|
|||
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
|
||||
Shivas\VersioningBundle\ShivasVersioningBundle::class => ['all' => true],
|
||||
Hslavich\OneloginSamlBundle\HslavichOneloginSamlBundle::class => ['all' => true],
|
||||
ApiPlatform\Symfony\Bundle\ApiPlatformBundle::class => ['all' => true],
|
||||
];
|
||||
|
|
|
@ -1,4 +1,21 @@
|
|||
api_platform:
|
||||
title: SuiteCRM API
|
||||
version: 8.5.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
|
||||
event_listeners_backward_compatibility_layer: false
|
||||
keep_legacy_inflector: false
|
||||
graphql:
|
||||
default_ide: graphql-playground
|
||||
graphiql:
|
||||
|
|
0
src/ApiResource/.gitignore
vendored
Normal file
0
src/ApiResource/.gitignore
vendored
Normal file
|
@ -1,16 +1,16 @@
|
|||
{
|
||||
"api-platform/core": {
|
||||
"version": "2.7",
|
||||
"version": "3.2",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "2.5",
|
||||
"ref": "b86557ce5677fa855b1b2608f4a4bc4a8fed8be7"
|
||||
"version": "3.2",
|
||||
"ref": "696d44adc3c0d4f5d25a2f1c4f3700dd8a5c6db9"
|
||||
},
|
||||
"files": [
|
||||
"config/packages/api_platform.yaml",
|
||||
"config/routes/api_platform.yaml",
|
||||
"src/Entity/.gitignore"
|
||||
"src/ApiResource/.gitignore"
|
||||
]
|
||||
},
|
||||
"api-platform/schema-generator": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue