MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / openapi.ts

File openapi.ts

apps/ui/src/lib/api/openapi.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import createClient, { type Middleware } from "openapi-fetch";
2
3import { env } from "@/lib/env";
4import { getErrorMessage } from "@/lib/errors/getErrorMessage";

Callers

nothing calls this directly

Calls 6

getErrorMessageFunction · 0.90
isRefreshableEndpointFunction · 0.85
performRefreshFunction · 0.85
extractApiErrorBodyFunction · 0.85
warnMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected