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

21 lines
501 B
PHP
Raw Normal View History

2019-10-06 13:51:33 +02:00
<?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",
* ),
*
* ),
* ),
* )
*/