From 2883fbb1d3c26f5f85f7ad21b68d2f61271fd9c4 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Mon, 27 Feb 2023 19:30:40 +0100 Subject: [PATCH] Add missing prime webhook(s) to hydrator class list --- src/Gatherer/WebHookHydrator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Gatherer/WebHookHydrator.php b/src/Gatherer/WebHookHydrator.php index 67149aa..15a7d49 100644 --- a/src/Gatherer/WebHookHydrator.php +++ b/src/Gatherer/WebHookHydrator.php @@ -39,6 +39,7 @@ public static function gather( */ private static function listSchemas(\ApiClients\Tools\OpenApiClientGenerator\Representation\Schema $schema): iterable { + yield $schema; foreach ($schema->properties as $property) { foreach ($property->type as $propertyType) { if ($propertyType->payload instanceof \ApiClients\Tools\OpenApiClientGenerator\Representation\Schema) {