1 2 3 4
import createClient from "openapi-fetch"; import type { paths } from "./schema"; export const apiClient = createClient<paths>({ baseUrl: "http://api-server/" });