requests
This commit is contained in:
41
frontend/modules/api/models/Skill.php
Normal file
41
frontend/modules/api/models/Skill.php
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
namespace frontend\modules\api\models;
|
||||
/**
|
||||
* @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
|
||||
{
|
||||
|
||||
}
|
Reference in New Issue
Block a user