Skip to content

Commit d2a6594

Browse files
authored
Merge pull request #95 from php-api-clients/add-missing-prime-webhook(s)-to-hydrator-list
Add missing prime webhook(s) to hydrator class list
2 parents 8e0b758 + 2883fbb commit d2a6594

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Gatherer/WebHookHydrator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public static function gather(
3939
*/
4040
private static function listSchemas(\ApiClients\Tools\OpenApiClientGenerator\Representation\Schema $schema): iterable
4141
{
42+
yield $schema;
4243
foreach ($schema->properties as $property) {
4344
foreach ($property->type as $propertyType) {
4445
if ($propertyType->payload instanceof \ApiClients\Tools\OpenApiClientGenerator\Representation\Schema) {

0 commit comments

Comments
 (0)