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

21 lines
501 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",
* ),
*
* ),
* ),
* )
*/