MCPcopy
hub / github.com/msgbyte/tianji / OpenapiSDKOptions

Interface OpenapiSDKOptions

packages/client-sdk/src/config.ts:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { OpenAPI } from './open/client';
2
3interface OpenapiSDKOptions {
4 header?: Record<string, string>;
5 apiKey?: string;
6}
7export function initOpenapiSDK(baseUrl: string, options?: OpenapiSDKOptions) {
8 OpenAPI.BASE = baseUrl.endsWith('/open') ? baseUrl : `${baseUrl}/open`;
9

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected