mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +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
|
||||
|
||||
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
|
|
@ -10,12 +10,13 @@
|
|||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "main",
|
||||
"version": "3.0",
|
||||
"ref": "0330386d716d3eecc52ee5ac66976e733eb8f961"
|
||||
"version": "3.1",
|
||||
"ref": "adf0c75f4bed8b0043a6680376323404953578c5"
|
||||
},
|
||||
"files": [
|
||||
"./config/routes/api_platform.yaml",
|
||||
"./src/ApiResource/.gitignore"
|
||||
"config/packages/api_platform.yaml",
|
||||
"config/routes/api_platform.yaml",
|
||||
"src/ApiResource/.gitignore"
|
||||
]
|
||||
},
|
||||
"beberlei/assert": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue