api_platform: version: 1.1.5 description: "Api de données touristiques et d'information légale." mapping: paths: ['%kernel.project_dir%/src/Entity'] collection: pagination: enabled_parameter_name: pagination items_per_page_parameter_name: itemsPerPage defaults: pagination_enabled: true pagination_client_enabled: true pagination_client_items_per_page: true cache_headers: max_age: '%env(int:CACHE_MAX_AGE)%' shared_max_age: 3600 vary: [ 'Content-Type', 'Authorization', 'Origin' ] http_cache: public: '%env(bool:CACHE_MODE_PUBLIC)%' patch_formats: json: ['application/merge-patch+json'] formats: jsonld: [ 'application/ld+json' ] json: [ 'application/json' ] xml: [ 'application/xml', 'text/xml' ] yaml: [ 'application/x-yaml' ] csv: [ 'text/csv' ] html: [ 'text/html' ] swagger: versions: [3] api_keys: apiKey: name: Authorization type: header