Update API Platform

Hecht 1 year ago
parent 8b94f3a368
commit 9b62504ed4

@ -0,0 +1,10 @@
api_platform:
title: Hello API Platform
version: 1.0.0
# Good defaults for REST APIs
defaults:
stateless: true
cache_headers:
vary: ['Content-Type', 'Authorization', 'Origin']
extra_properties:
standard_put: true

@ -4,10 +4,11 @@
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "3.0",
"ref": "0330386d716d3eecc52ee5ac66976e733eb8f961"
"version": "3.1",
"ref": "adf0c75f4bed8b0043a6680376323404953578c5"
},
"files": [
"config/packages/api_platform.yaml",
"config/routes/api_platform.yaml",
"src/ApiResource/.gitignore"
]

Loading…
Cancel
Save