Explorar el Código

simplify api platform configuration

Olivier Massot hace 6 meses
padre
commit
71b5a676f3
Se han modificado 1 ficheros con 0 adiciones y 22 borrados
  1. 0 22
      api/config/packages/api_platform.yaml

+ 0 - 22
api/config/packages/api_platform.yaml

@@ -7,28 +7,6 @@ api_platform:
         json: ['application/merge-patch+json']
     swagger:
         versions: [3]
-        api_keys:
-            apiKey:
-                name: Authorization
-                type: header
     enable_docs: true
     enable_swagger: true
     enable_swagger_ui: true
-    formats:
-        jsonld:
-            mime_types: ['application/ld+json']
-        json:
-            mime_types: ['application/json']
-        html:
-            mime_types: ['text/html']
-    docs_formats:
-        jsonld: ['application/ld+json']
-        jsonopenapi: ['application/vnd.openapi+json']
-        html: ['text/html']
-    defaults:
-        stateless: true
-        cache_headers:
-            vary: ['Content-Type', 'Authorization', 'Origin']
-        extra_properties:
-            standard_put: true
-            rfc_7807_compliant_errors: true