Use nswag generator

This commit is contained in:
2024-10-02 21:03:18 -03:00
parent 332c0b2fa6
commit b5d1e086f3
25 changed files with 3063 additions and 1456 deletions

View File

@ -1,15 +0,0 @@
// Copyright (c) Tribufu. All Rights Reserved.
// SPDX-License-Identifier: MIT
import dotenv from 'dotenv';
import { TribufuClient } from '../build/index.mjs';
dotenv.config();
async function main() {
const client = TribufuClient.fromEnv("TRIBUFU");
const games = await client.getServers();
console.log(games);
}
main();