1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 08:51:34 +02:00
invoiceninja/app/Http/Controllers/OpenAPI/DesignSchema.php
David Bomba f8ea4c0d0f
Implement Design API (#3400)
* Working on CompanyUser route

* CompanyUser update route

* tests for updating a company user

* Fixes for exchange currency rate

* Move slack and google analytics fields into company table

* implement Design API
2020-02-29 08:57:47 +11:00

17 lines
1.2 KiB
PHP

<?php
/**
* @OA\Schema(
* schema="Design",
* type="object",
* @OA\Property(property="id", type="string", example="AS3df3A", description="The design hashed id"),
* @OA\Property(property="name", type="string", example="Beauty", description="The design name"),
* @OA\Property(property="design", type="string", example="<html></html>", description="The design HTML"),
* @OA\Property(property="is_custom", type="boolean", example=true, description="Flag to determine if the design is a custom user design"),
* @OA\Property(property="is_active", type="boolean", example=true, description="Flag to determine if the design is available for use"),
* @OA\Property(property="is_deleted", type="boolean", example=true, description="Flag to determine if the design is deleted"),
* @OA\Property(property="created_at", type="number", format="integer", example="134341234234", description="Timestamp"),
* @OA\Property(property="updated_at", type="number", format="integer", example="134341234234", description="Timestamp"),
* @OA\Property(property="deleted_at", type="number", format="integer", example="134341234234", description="Timestamp"),
* )
*/