'not_found', 'title' => 'The OpenAPI document has not been generated for this installation.', 'status' => 404, ], 404, ['Content-Type' => 'application/problem+json']); } return new Response((string) file_get_contents($path), 200, [ 'Content-Type' => 'application/json', 'Cache-Control' => 'public, max-age=300', ]); } }