From 78e3f74b65fd0dae9d6d31f542feac3d500bec36 Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Fri, 1 Dec 2023 17:24:16 -0500 Subject: [PATCH] Fix PathDeciderProcessor --- src/OpenApi/Processor/PathDeciderProcessor.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/OpenApi/Processor/PathDeciderProcessor.php b/src/OpenApi/Processor/PathDeciderProcessor.php index f5fce7f..28503dd 100644 --- a/src/OpenApi/Processor/PathDeciderProcessor.php +++ b/src/OpenApi/Processor/PathDeciderProcessor.php @@ -27,6 +27,10 @@ public function __construct( public function __invoke(Analysis $analysis): void { + if (Generator::isDefault($analysis->openapi->paths)) { + return; + } + $el = new ExpressionLanguage(null, iterator_to_array($this->expressionLanguageProviders)); foreach ($analysis->openapi->paths as $index => $pathItem) {