Files
Mangarr/config/packages/api_platform.yaml
ext.jeremy.guillot@maxicoffee.domains e3d380eadd feat: GetMangaList endpoint + tests + test db
2025-02-10 19:21:14 +01:00

32 lines
1.0 KiB
YAML

api_platform:
title: Mangarr API
version: 1.0.0
formats:
json: ['application/json']
jsonld: ['application/ld+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
mapping:
paths:
- '%kernel.project_dir%/src/Domain/Scraping/Infrastructure/ApiPlatform/Dto'
- '%kernel.project_dir%/src/Domain/Manga/Infrastructure/ApiPlatform/Resource'
patch_formats:
json: ['application/merge-patch+json']