From 2395c1a638f932dab55d94553fde85f7a8165318 Mon Sep 17 00:00:00 2001 From: Marko <52066939+HeX87@users.noreply.github.com> Date: Tue, 19 Sep 2023 17:17:38 +0200 Subject: [PATCH] update --- config/packages/api_platform.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 config/packages/api_platform.yaml diff --git a/config/packages/api_platform.yaml b/config/packages/api_platform.yaml new file mode 100644 index 0000000..41c7993 --- /dev/null +++ b/config/packages/api_platform.yaml @@ -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