Skip to content

Commit

Permalink
add Webhook to nested type OpenAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
qdequippe committed Sep 11, 2023
1 parent 860be67 commit e63c24e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Annotations/OpenApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class OpenApi extends AbstractAnnotation
Info::class => 'info',
Server::class => ['servers'],
PathItem::class => ['paths', 'path'],
Webhook::class => ['webhooks'],
Components::class => 'components',
Tag::class => ['tags'],
ExternalDocumentation::class => 'externalDocs',
Expand Down

0 comments on commit e63c24e

Please sign in to comment.