Files
Mangarr/config/packages/api_platform.yaml
Jérémy Guillot bddcdd6823 refonte
2024-06-03 17:36:22 +02:00

26 lines
765 B
YAML

api_platform:
title: Mangarr API
version: 1.0.0
formats:
jsonld: ['application/ld+json']
json: ['application/json']
html: ['text/html']
jsonhal: ['application/hal+json']
swagger:
api_keys:
access_token:
name: Authorization
type: header
docs_formats:
jsonld: ['application/ld+json']
jsonopenapi: ['application/vnd.openapi+json']
html: ['text/html']
defaults:
cache_headers:
vary: ['Content-Type', 'Authorization', 'Origin']
extra_properties:
standard_put: true
rfc_7807_compliant_errors: true
event_listeners_backward_compatibility_layer: false
keep_legacy_inflector: false