1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 01:11:34 +02:00
invoiceninja/app/Http/Controllers/OpenAPI/SubscriptionSchema.php
David Bomba 05443d69ec
Implement CompanyToken and Subscriptions CRUD (#3609)
* Working on Tokens CRUD

* Fixes for company filters

* Working on Token CRUD

* Tests for tokens

* Fixes for OPENApi

* Subscriptions

* Subscriptions
2020-04-09 20:48:04 +10:00

12 lines
527 B
PHP

<?php
/**
* @OA\Schema(
* schema="Subscription",
* type="object",
* @OA\Property(property="id", type="string", example="AS3df3A", description="The subscription hashed id"),
* @OA\Property(property="event_id", type="string", example="AS3df3A", description="The subscription event id"),
* @OA\Property(property="target_url", type="string", example="AS3df3A", description="The api endpoint"),
* @OA\Property(property="format", type="string", example="JSON", description="JSON or UBL"),
* )
*/