welcome back to dyb-tech

This commit is contained in:
Daniel Guzman
2024-05-18 02:28:01 +02:00
parent 9513cdba09
commit 9f30bc98c7
6149 changed files with 668407 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
<?php declare(strict_types=1);
/**
* @license Apache 2.0
*/
namespace OpenApi\Annotations;
use OpenApi\Generator;
/**
* Acts like a `PathItem` with the main difference being that it requires `webhook` instead of `path`.
*
* @Annotation
*/
class Webhook extends PathItem
{
/**
* Key for the webhooks map.
*
* @var string
*/
public $webhook = Generator::UNDEFINED;
/**
* @inheritdoc
*/
public static $_required = ['webhook'];
/**
* @inheritdoc
*/
public static $_parents = [
OpenApi::class,
];
/**
* @inheritdoc
*/
public static $_types = [
'webhook' => 'string',
];
}