From e63c24e325531afb9396fceff48f4880ee046635 Mon Sep 17 00:00:00 2001 From: Quentin Dequippe Date: Mon, 11 Sep 2023 10:03:39 +0400 Subject: [PATCH] add Webhook to nested type OpenAPI --- src/Annotations/OpenApi.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Annotations/OpenApi.php b/src/Annotations/OpenApi.php index 0be0cd72..617fed25 100644 --- a/src/Annotations/OpenApi.php +++ b/src/Annotations/OpenApi.php @@ -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',