1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00
invoiceninja/app/Http/Controllers/OpenAPI/ValidationErrorSchema.php

20 lines
489 B
PHP
Raw Normal View History

2019-10-06 13:51:33 +02:00
<?php
2020-10-10 14:07:52 +02:00
/**
2019-10-06 13:51:33 +02:00
* @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",
2019-10-06 13:51:33 +02:00
* @OA\Property(
* property="value",
2019-10-06 13:51:33 +02:00
* type="array",
2019-10-06 14:18:22 +02:00
* @OA\Items(
* type="string",
* ),
* ),
* ),
2019-10-06 13:51:33 +02:00
* )
*/