fix для работы с vmangos

This commit is contained in:
2026-10-04 13:02:12 +04:00
parent 028aa9e35d
commit 5952e966d2
18 changed files with 400 additions and 163 deletions
@@ -13,8 +13,7 @@ class LauncherAuthController extends Controller
{
public function __construct(
private readonly VMangosAccountService $accounts,
) {
}
) {}
#[OA\Post(
path: '/api/launcher/login',
@@ -27,7 +26,7 @@ class LauncherAuthController extends Controller
required: ['username', 'password'],
properties: [
new OA\Property(property: 'username', type: 'string', minLength: 3, maxLength: 16, pattern: '^[A-Za-z0-9]+$', example: 'Player'),
new OA\Property(property: 'password', type: 'string', minLength: 3, maxLength: 16, example: 'secret123'),
new OA\Property(property: 'password', type: 'string', minLength: 3, maxLength: 255, example: 'secret123'),
],
),
),