PathItem with the main difference being that it requires webhook instead of path. * * @since OpenAPI 3.1.0 * * @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', ]; }