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) {