1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-06 03:02:34 +01:00
invoiceninja/app/Http/Controllers/OpenAPI/ValidationErrorSchema.php
2020-10-10 23:07:52 +11:00

20 lines
489 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",
* ),
* ),
* ),
* )
*/