1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-06 03:02:34 +01:00
invoiceninja/app/Http/Controllers/OpenAPI/UserSchema.php
David Bomba f712b789ca
Fixes for tests (#3184)
* fix typo

* php-cs traits

* CS fixer pass

* Password protect User routes

* Implement checks to prevent editing a deleted record

* Clean up payment flows

* Fixes for tests
2019-12-31 08:59:12 +11:00

18 lines
1.2 KiB
PHP

<?php
/**
* @OA\Schema(
* schema="User",
* type="object",
* @OA\Property(property="id", type="string", example="Opnel5aKBz", description="__________"),
* @OA\Property(property="first_name", type="string", example="The users first name", description="________"),
* @OA\Property(property="last_name", type="string", example="The users last name", description="_________"),
* @OA\Property(property="email", type="string", example="", description="_________"),
* @OA\Property(property="phone", type="string", example="555-1233-23232", description="_________"),
* @OA\Property(property="signature", type="string", example="A users text signature", description="_________"),
* @OA\Property(property="avatar", type="string", example="https://url.to.your/avatar.png", description="_________"),
* @OA\Property(property="accepted_terms_version", type="string", example="1.0.1", description="_________"),
* @OA\Property(property="oauth_user_id", type="string", example="jkhasdf789as6f675sdf768sdfs", description="_________"),
* @OA\Property(property="oauth_provider_id", type="string", example="google", description="_________"),
* )
*/