ogcore/config/packages/api_platform.yaml

23 lines
781 B
YAML

api_platform:
title: 'OgCore API'
description: 'API Documentation for OgCore'
version: 1.0.0
path_segment_name_generator: 'api_platform.path_segment_name_generator.dash'
formats:
jsonld: ['application/ld+json', 'application/json']
patch_formats:
jsonld: ['application/ld+json', 'application/json']
mapping:
paths: ['%kernel.project_dir%/config/api_platform', '%kernel.project_dir%/src/Dto']
defaults:
pagination_client_items_per_page: true
docs_formats:
jsonld: ['application/ld+json']
jsonopenapi: ['application/vnd.openapi+json']
html: ['text/html']
swagger:
versions: [3]
api_keys:
apiKey:
name: Authorization
type: header