2020-12-16 19:25:27 +01:00

22 lines
494 B
TypeScript

export declare enum HttpClient {
FETCH = 'fetch',
XHR = 'xhr',
NODE = 'node',
HTTPNTLM = 'httpntlm',
}
export type Options = {
input: string | Record<string, any>;
output: string;
httpClient?: HttpClient;
useOptions?: boolean;
useUnionTypes?: boolean;
exportCore?: boolean;
exportServices?: boolean;
exportModels?: boolean;
exportSchemas?: boolean;
write?: boolean;
};
export declare function generate(options: Options): Promise<void>;