refonte
This commit is contained in:
25
config/packages/api_platform.yaml
Normal file
25
config/packages/api_platform.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
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
|
||||
Reference in New Issue
Block a user