Upgrade to api-platform 4

This commit is contained in:
2025-01-17 13:19:53 +01:00
parent d922d1e0a0
commit bce42bd452
5 changed files with 1308 additions and 167 deletions
+2 -1
View File
@@ -7,7 +7,8 @@
"php": ">=8.1",
"ext-ctype": "*",
"ext-iconv": "*",
"api-platform/core": "^3.2",
"api-platform/doctrine-orm": "^4.0",
"api-platform/symfony": "^4.0",
"beberlei/doctrineextensions": "^1.4",
"brick/math": "^0.11.0",
"brick/money": "^0.8.1",
Generated
+1275 -163
View File
File diff suppressed because it is too large Load Diff
+1 -3
View File
@@ -30,9 +30,7 @@ api_platform:
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
use_symfony_listeners: true
swagger:
api_keys:
access_token:
+4
View File
@@ -0,0 +1,4 @@
framework:
uid:
default_uuid_version: 7
time_based_uuid_version: 7
+26
View File
@@ -13,6 +13,20 @@
"src/ApiResource/.gitignore"
]
},
"api-platform/symfony": {
"version": "4.0",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "4.0",
"ref": "e9952e9f393c2d048f10a78f272cd35e807d972b"
},
"files": [
"config/packages/api_platform.yaml",
"config/routes/api_platform.yaml",
"src/ApiResource/.gitignore"
]
},
"doctrine/annotations": {
"version": "2.0",
"recipe": {
@@ -231,6 +245,18 @@
"templates/base.html.twig"
]
},
"symfony/uid": {
"version": "6.4",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "6.2",
"ref": "d294ad4add3e15d7eb1bae0221588ca89b38e558"
},
"files": [
"config/packages/uid.yaml"
]
},
"symfony/validator": {
"version": "6.3",
"recipe": {