This commit is contained in:
2023-04-12 13:14:37 +03:00
parent c65b7d10cc
commit 8bc601aa6a
43 changed files with 3005 additions and 795 deletions

View File

@ -9,6 +9,36 @@ use yii\filters\ContentNegotiator;
use yii\rest\Controller;
use yii\web\Response;
/**
* @OA\Info(
* version="1.0.0",
* title="Документация Гильдия",
* description="Документация для работы с API",
*
* ),
* @OA\PathItem(
* path="/api"
* ),
* @OA\Server(
* url="https://itguild.info/api",
* description="Основной сервер",
* ),
*
* @OA\Server(
* url="https://guild.loc/api",
* description="Локальный сервер",
* ),
*
* @OA\SecurityScheme(
* securityScheme="bearerAuth",
* in="header",
* name="Authorization",
* type="http",
* scheme="bearer",
* bearerFormat="JWT",
* ),
*/
class ApiController extends Controller
{