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