1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 17:01:33 +02:00
invoiceninja/app/Http/Controllers/OpenAPI/ValidationErrorSchema.php
David Bomba febe32b7d8 OpenAPI
2019-10-06 23:18:22 +11:00

20 lines
492 B
PHP

<?php
/**
* @OA\Schema(
* schema="ValidationError",
* type="object",
* @OA\Property(property="message", type="string", example="The given data was invalid.", description="The error message"),
* @OA\Property(
* property="errors",
* type="object",
* @OA\Property(
* property="value",
* type="array",
* @OA\Items(
* type="string",
* ),
* ),
* ),
* )
*/