import { ApiClient } from "@kakomimasu/client-js";
const client = new ApiClient();
const boards = await client.getBoards();
console.log(boards);その他の例は、samples をご覧ください
ソースファイルの生成には OpenAPI Generator を使用しています。
$ deno task install生成は template ディレクトリ のテンプレートを使用して行われます。 コマンド実行時に OpenAPI 定義ファイル (https://api.kakomimasu.com/v1/openapi.json) を使って生成されます
$ deno task generateテストは PR 作成時の GitHub Actions で行われます。 ローカルで試す方は、kakomimasu/server を起動しておく必要があります。
$ deno test -A .