BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
app.imagivibe.com
/
vendor
/
zircote
/
swagger-php
/
src
/
Annotations
📤 Upload
📝 New File
📁 New Folder
Close
Editing: Webhook.php
<?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', ]; }
Save
Cancel