fork of hey-api/openapi-ts because I need some additional things
1import { definePluginConfig } from '@hey-api/shared';
2
3import { clientDefaultConfig, clientDefaultMeta } from '../client-core/config';
4import type { HeyApiClientHttpxPlugin } from './types';
5
6export const defaultConfig: HeyApiClientHttpxPlugin['Config'] = {
7 ...clientDefaultMeta,
8 config: clientDefaultConfig,
9 handler() {
10 // TODO: handler
11 },
12 name: '@hey-api/client-httpx',
13};
14
15/**
16 * Type helper for `@hey-api/client-httpx` plugin, returns {@link Plugin.Config} object
17 */
18export const defineConfig = definePluginConfig(defaultConfig);