api_platform: mapping: paths: ['%kernel.project_dir%/src/Entity'] patch_formats: json: ['application/merge-patch+json'] swagger: versions: [3] exception_to_status: # this should be left alone, but the original swagger asked for this ApiPlatform\Core\Bridge\Symfony\Validator\Exception\ValidationException: 405 formats: jsonld: ['application/ld+json'] jsonhal: ['application/hal+json'] jsonapi: ['application/vnd.api+json'] json: ['application/json'] xml: ['application/xml', 'text/xml'] yaml: ['application/x-yaml'] csv: ['text/csv'] html: ['text/html']