mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Updated api platform recipe
This commit is contained in:
parent
f9cafae789
commit
aaf230fc58
2 changed files with 12 additions and 4 deletions
|
@ -16,4 +16,11 @@ api_platform:
|
||||||
type: header
|
type: header
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
|
# TODO: Change this to true later. In the moment it is false, because we use the session in somewhere
|
||||||
|
stateless: false
|
||||||
|
cache_headers:
|
||||||
|
vary: ['Content-Type', 'Authorization', 'Origin']
|
||||||
|
extra_properties:
|
||||||
|
standard_put: true
|
||||||
|
|
||||||
pagination_client_items_per_page: true # Allow clients to override the default items per page
|
pagination_client_items_per_page: true # Allow clients to override the default items per page
|
|
@ -10,12 +10,13 @@
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "3.0",
|
"version": "3.1",
|
||||||
"ref": "0330386d716d3eecc52ee5ac66976e733eb8f961"
|
"ref": "adf0c75f4bed8b0043a6680376323404953578c5"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"./config/routes/api_platform.yaml",
|
"config/packages/api_platform.yaml",
|
||||||
"./src/ApiResource/.gitignore"
|
"config/routes/api_platform.yaml",
|
||||||
|
"src/ApiResource/.gitignore"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"beberlei/assert": {
|
"beberlei/assert": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue