guild/frontend/modules/api/models/Skill.php

42 lines
781 B
PHP
Raw Normal View History

2023-04-12 13:14:37 +03:00
<?php
namespace frontend\modules\api\models;
2023-04-25 01:32:15 +03:00
2023-04-12 13:14:37 +03:00
/**
* @OA\Schema(
* schema="Skill",
* @OA\Property(
* property="id",
* type="int",
* example=1,
* description="Идентификатор навыка"
* ),
* @OA\Property(
* property="name",
* type="string",
* example="PHP",
* description="Название навыка"
* ),
*)
*
* @OA\Schema(
* schema="SkillsExample",
* type="array",
* example={{"id": 1, "name": "PHP"}, {"id": 2, "name": "Yii2"}},
* @OA\Items(
* type="object",
* @OA\Property(
* property="id",
* type="integer",
* ),
* @OA\Property(
* property="name",
* type="string",
* ),
* ),
*)
*/
class Skill extends \common\models\Skill
{
}