1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 16:13:20 +01:00
invoiceninja/app/Http/Controllers/OpenAPI/GenericReportSchema.php

22 lines
931 B
PHP
Raw Normal View History

2022-04-27 07:17:45 +02:00
<?php
/**
* @OA\Schema(
2022-04-27 07:41:52 +02:00
* schema="GenericReportSchema",
2022-04-27 07:17:45 +02:00
* type="object",
* @OA\Property(property="date_range", type="string", example="last7", description="The string representation of the date range of data to be returned"),
* @OA\Property(property="date_key", type="string", example="created_at", description="The date column to search between."),
* @OA\Property(property="start_date", type="string", example="2000-10-31", description="The start date to search between"),
* @OA\Property(property="end_date", type="string", example="2", description="The end date to search between"),
* @OA\Property(
* property="report_keys",
* type="array",
* @OA\Items(
* type="string",
* description="Array of Keys to export",
* example="['name','date']",
* ),
* ),
*
* )
*/