From b9e76c8db5287f588fde775262ea3986630b7bab Mon Sep 17 00:00:00 2001 From: magrigry <74878280+magrigry@users.noreply.github.com> Date: Sun, 31 Dec 2023 18:48:33 +0100 Subject: [PATCH] connect the OpenAPI Context with Loggers from Symfony (#2131) --- ApiDocGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApiDocGenerator.php b/ApiDocGenerator.php index 7aaad132b..83f1a41db 100644 --- a/ApiDocGenerator.php +++ b/ApiDocGenerator.php @@ -83,7 +83,7 @@ public function generate(): OpenApi } } - $generator = new Generator(); + $generator = new Generator($this->logger); // Remove OperationId processor as we use a lot of generated annotations which do not have enough information in their context // to generate these ids properly. // @see https://github.com/zircote/swagger-php/issues/1153